ValidationResult Class
Applies To: Dynamics CRM 2015
Contains the result from the ValidateRequest, BookRequest, or RescheduleRequest messages.
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 ref class ValidationResult sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")>]
type ValidationResult =
class
interface IExtensibleDataObject
end
<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
© 2016 Microsoft. All rights reserved. Copyright