OrganizationServiceContextExtensions.Validate<TResult> Method (OrganizationServiceContext, EntityCollection)
Applies To: Dynamics CRM 2013
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
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- activities
Type: Microsoft.Xrm.Sdk.EntityCollection
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 2013
Return to top