/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Crm.Sdk.Messages.ValidationResult"></see> class, setting the success, traceinfo and activityid properties.</summary> /// <param name="success">Type: Returns_Boolean. The value that indicates whether the appointment or service appointment was validated successfully.</param> /// <param name="activityId">Type: Returns_Guid. The ID of the validated activity.</param> /// <param name="traceInfo">Type: <see cref="T:Microsoft.Crm.Sdk.Messages.TraceInfo"></see>. The reasons for any scheduling failures.</param> public ValidationResult(bool success, TraceInfo traceInfo, Guid activityId) { this.ValidationSuccess = success; this.TraceInfo = traceInfo; this.ActivityId = activityId; }
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Crm.Sdk.Messages.SearchResults"></see> class setting the proposals and trace info properties.</summary> /// <param name="proposals">The set of proposed appointments that meet the appointment request criteria.</param> /// <param name="traceInfo">The results of the search.</param> public SearchResults(AppointmentProposal[] proposals, TraceInfo traceInfo) { this.Proposals = proposals; this.TraceInfo = traceInfo; }