OrganizationServiceContextExtensions.CloseIncident Method (OrganizationServiceContext, Entity, Int32)

 

Applies To: Dynamics CRM 2015

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,
    int status
)
public:
[ExtensionAttribute]
static void CloseIncident(
    OrganizationServiceContext^ context,
    Entity^ incidentResolution,
    int status
)
static member CloseIncident : 
        context:OrganizationServiceContext *
        incidentResolution:Entity *
        status:int -> unit
<ExtensionAttribute>
Public Shared Sub CloseIncident (
    context As OrganizationServiceContext,
    incidentResolution As Entity,
    status As Integer
)

Parameters

  • incidentResolution
    Type: Microsoft.Xrm.Sdk.Entity

    The incident resolution (case resolution) that is associated with the incident (case) to be closed. Required.

  • status
    Type: System.Int32

    A 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

© 2017 Microsoft. All rights reserved. Copyright