Partilhar via


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
System_CAPS_pubmethod ValidationResult()

Initializes a new instance of the ValidationResult class.

System_CAPS_pubmethod ValidationResult(Boolean, TraceInfo, Guid)

Initializes a new instance of the ValidationResult class, setting the success, traceinfo and activityid properties.

Properties

Name Description
System_CAPS_pubproperty ActivityId

Gets or sets the ID of the validated activity.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty TraceInfo

Gets or sets the reasons for any scheduling failures.

System_CAPS_pubproperty ValidationSuccess

Gets or sets the value that indicates whether the appointment or service appointment was validated successfully.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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