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 |
|
|
748ac902-3ba5-456c-ab91-aece8947131a |
KumarVivek |
kvivek |
|
This sample code is for Dynamics 365 Customer Engagement (on-premises). Download the Service samples.
[!INCLUDEsdk-prerequisite]
[!INCLUDEsdk_SeeConnectionHelper]
This sample shows how to process and close an incident (case) with a case resolution.
[!code-csharpService#CloseAnIncident]
Incident (Case) Entities
xref:Microsoft.Crm.Sdk.Messages.CloseIncidentRequest
xref:Microsoft.Crm.Sdk.Messages.IsValidStateTransitionRequest
[!INCLUDEfooter-include]