Partager via


OrganizationServiceContextExtensions.Validate<TResult> Method (OrganizationServiceContext, EntityCollection)

 

Applies To: Dynamics CRM 2015

Validates that all the constraints of an appointment or service appointment are met. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static TResult Validate<TResult>(
    this OrganizationServiceContext context,
    EntityCollection activities
)
public:
generic<typename TResult>
[ExtensionAttribute]
static TResult Validate(
    OrganizationServiceContext^ context,
    EntityCollection^ activities
)
static member Validate<'TResult> : 
        context:OrganizationServiceContext *
        activities:EntityCollection -> 'TResult
<ExtensionAttribute>
Public Shared Function Validate(Of TResult) (
    context As OrganizationServiceContext,
    activities As EntityCollection
) As TResult

Parameters

Return Value

Type: TResult

Returns DateTime.

Type Parameters

  • TResult

Remarks

This is a method wrapper for the ValidateRequest and ValidateResponse 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