Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.53 KB

File metadata and controls

44 lines (35 loc) · 1.53 KB
title description ms.custom ms.date ms.reviewer ms.suite ms.tgt_pltfrm ms.topic applies_to helpviewer_keywords ms.assetid author ms.author search.audienceType
Sample: Close an incident (Developer Guide for Dynamics 365 Customer Engagement (on-premises)) | MicrosoftDocs
The sample code demonstrates how to process and close an incident (case) with a case resolution.
10/01/2019
pehecke
sample
Dynamics 365 Customer Engagement (on-premises)
processing and closing incidents (cases), service entities sample
sample for closing incidents (cases)
748ac902-3ba5-456c-ab91-aece8947131a
KumarVivek
kvivek
developer

Sample: Close an incident

This sample code is for Dynamics 365 Customer Engagement (on-premises). Download the Service samples.

Prerequisites

[!INCLUDEsdk-prerequisite]

Requirements

[!INCLUDEsdk_SeeConnectionHelper]

Demonstrates

This sample shows how to process and close an incident (case) with a case resolution.

Example

[!code-csharpService#CloseAnIncident]

See also

Incident (Case) Entities
xref:Microsoft.Crm.Sdk.Messages.CloseIncidentRequest
xref:Microsoft.Crm.Sdk.Messages.IsValidStateTransitionRequest

[!INCLUDEfooter-include]