ValidationResult Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the result from the ValidateRequest, BookRequest, or RescheduleRequest messages.
For the Web API the corresponding type is ValidationResult ComplexType.
Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Inheritance Hierarchy
System.Object
Microsoft.Crm.Sdk.Messages.ValidationResult
Syntax
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class ValidationResult : IExtensibleDataObject
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class ValidationResult
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
ValidationResult() | Initializes a new instance of the ValidationResult class. |
|
ValidationResult(Boolean, TraceInfo, Guid) | Initializes a new instance of the ValidationResult class, setting the success, traceinfo and activityid properties. |
Properties
Name | Description | |
---|---|---|
ActivityId | Gets or sets the ID of the validated activity. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
TraceInfo | Gets or sets the reasons for any scheduling failures. |
|
ValidationSuccess | Gets or sets the value that indicates whether the appointment or service appointment was validated successfully. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
BookRequest
BookResponse
RescheduleRequest
RescheduleResponse
ValidateRequest
ValidateResponse
Microsoft.Crm.Sdk.Messages Namespace
Sample: Validate an appointment
Sample: Book an appointment
Sample: Reschedule and cancel a recurring appointment
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright