Поделиться через


OrganizationServiceContextExtensions.CalculateTotalTimeIncident Method (OrganizationServiceContext, Guid)

 

Applies To: Dynamics CRM 2015

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

  • incidentId
    Type: System.Guid

    The 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 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright