Esempio n. 1
0
 /// <summary>
 /// Create an OperationResult with a message.
 /// </summary>
 /// <param name="status">The status of the operation.</param>
 /// <param name="message">The optional message to describe the result.</param>
 public OperationResult(OperationResult.Status status, string message)
 {
     this.status  = status;
     this.message = message;
 }
Esempio n. 2
0
 /// <summary>
 /// Create an OperationResult with no message.
 /// </summary>
 /// <param name="status">The status of the operation.</param>
 public OperationResult(OperationResult.Status status)
 {
     this.status = status;
 }