OrganizationServiceContextExtensions.CloseIncident Method (OrganizationServiceContext, Entity, OptionSetValue)
Applies To: Dynamics CRM 2013
Closes an incident (case). (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void CloseIncident(
this OrganizationServiceContext context,
Entity incidentResolution,
OptionSetValue status
)
public:
[ExtensionAttribute]
static void CloseIncident(
OrganizationServiceContext^ context,
Entity^ incidentResolution,
OptionSetValue^ status
)
static member CloseIncident :
context:OrganizationServiceContext *
incidentResolution:Entity *
status:OptionSetValue -> unit
<ExtensionAttribute>
Public Shared Sub CloseIncident (
context As OrganizationServiceContext,
incidentResolution As Entity,
status As OptionSetValue
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
incidentResolution
Type: Microsoft.Xrm.Sdk.EntityThe incident resolution (case resolution) that is associated with the incident (case) to be closed. Required.
status
Type: Microsoft.Xrm.Sdk.OptionSetValueA status of the incident. Required.
Remarks
This is a method wrapper for the CloseIncidentRequest and CloseIncidentResponse classes. See the documentation in the Request class for more information about this message.
See Also
CloseIncident Overload
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Return to top