Share via


CRMIncident Class

The CRMIncident class contains methods that you can use to manage incidents.

There are no properties for this class.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Web.Services.Protocols.WebClientProtocol
            System.Web.Services.Protocols.HttpWebClientProtocol
               System.Web.Services.Protocols.SoapHttpClientProtocol
                  CRMIncident

[Visual Basic .NET]
Public Class CRMIncident
   Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMIncident : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMIncident: public System.Web.Services.Protocols.SoapHttpClientProtocol

The CRMIncident class exposes the following methods.

Method Description
CalculateTotalTime Calculates the total time that is spent on the incident.
Cancel Sets the state of an incident to Canceled.
Close Sets the state of the incident to Closed.
Create Creates a new incident.
CreateAndRetrieve Creates a new incident and then retrieves it.
Delete Deletes an incident
GrantAccess Grants the specified security principal access to the incident.
Handle Handles an incident. This moves the incident to the user WIP Bin queue from the queue specified by SourceQueueId.
ModifyAccess Replaces the access rights on the incident for the specified security principal.
Open Sets the state of the incident to Open.
Retrieve Retrieves an existing incident.
RetrieveByObject Retrieves all incidents that are associated with an object (account or contact).
RetrieveByPrincipal Retrieves all incidents that are owned by the specified security principal.
RetrievePrincipalAccess Retrieves the access the specified security principal has for the specified incident.
RetrieveSharedPrincipals Retrieves the security principals who share the specified incident
RetrieveSharedPrincipalsAndAccess Retrieves all of the security principals (users or teams) that have access to the specified incident and their access rights for the incident.
RevokeAccess Revokes the access of a security principal to the specified incident.
Route Routes an incident. This moves it to a user private queue, to a public queue, or to auto routing from the queue specified by SourceQueueId.
UnHandle Not supported in this version.
Update Updates an existing incident.
UpdateAndRetrieve Updates an existing incident and then retrieves it.
ValidForClose Checks whether it is valid to close this incident.

Requirements

Namespace: Microsoft.Crm.Platform.Proxy

Assembly: Microsoft.Crm.Platform.Proxy.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.