次の方法で共有


CrmServiceClient.CloseIncident Method

Definition

Closes an Incident request in CRM, this special handling is necessary to support CRM Built In Object.

public Guid CloseIncident (Guid incidentId, System.Collections.Generic.Dictionary<string,Microsoft.Xrm.Tooling.Connector.CrmDataTypeWrapper> fieldList, int incidentStatusCode = 5, Guid batchId = default);
member this.CloseIncident : Guid * System.Collections.Generic.Dictionary<string, Microsoft.Xrm.Tooling.Connector.CrmDataTypeWrapper> * int * Guid -> Guid
Public Function CloseIncident (incidentId As Guid, fieldList As Dictionary(Of String, CrmDataTypeWrapper), Optional incidentStatusCode As Integer = 5, Optional batchId As Guid = Nothing) As Guid

Parameters

incidentId
Guid

ID of the CRM Incident to close

fieldList
Dictionary<String,CrmDataTypeWrapper>

List of data items to add to the request, By default, subject is required.

incidentStatusCode
Int32

Status code to close the incident with, defaults to resolved

batchId
Guid

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

Returns

Guid of the Activity.

Applies to