OrganizationServiceContextExtensions.CalculateTotalTimeIncident Method (OrganizationServiceContext, Guid)
Applies To: Dynamics CRM 2013
Calculates the total number of minutes spent on an incident (case). (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static long CalculateTotalTimeIncident(
this OrganizationServiceContext context,
Guid incidentId
)
public:
[ExtensionAttribute]
static long long CalculateTotalTimeIncident(
OrganizationServiceContext^ context,
Guid incidentId
)
static member CalculateTotalTimeIncident :
context:OrganizationServiceContext *
incidentId:Guid -> int64
<ExtensionAttribute>
Public Shared Function CalculateTotalTimeIncident (
context As OrganizationServiceContext,
incidentId As Guid
) As Long
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
incidentId
Type: System.GuidThe ID of the incident (case). Required.
Return Value
Type: System.Int64
Returns an Int64, the total time, in minutes that you use when you work on an incident (case).
Remarks
This is a method wrapper for the CalculateTotalTimeIncidentRequest and CalculateTotalTimeIncidentResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top