Partilhar via


ValidationResult Constructors

Definition

Overloads

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.

ValidationResult()

Initializes a new instance of the ValidationResult class.

public:
 ValidationResult();
public ValidationResult ();
Public Sub New ()

Applies to

ValidationResult(Boolean, TraceInfo, Guid)

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

public:
 ValidationResult(bool success, Microsoft::Crm::Sdk::Messages::TraceInfo ^ traceInfo, Guid activityId);
public ValidationResult (bool success, Microsoft.Crm.Sdk.Messages.TraceInfo traceInfo, Guid activityId);
new Microsoft.Crm.Sdk.Messages.ValidationResult : bool * Microsoft.Crm.Sdk.Messages.TraceInfo * Guid -> Microsoft.Crm.Sdk.Messages.ValidationResult
Public Sub New (success As Boolean, traceInfo As TraceInfo, activityId As Guid)

Parameters

success
Boolean

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

traceInfo
TraceInfo

The reasons for any scheduling failures.

activityId
Guid

The ID of the validated activity.

Applies to