Result indicating success or otherwise of certain operations.
C# syntax[DataContract]
public class DefenderResult
{
[DataMember]
public bool Success{ get; set; }
[DataMember]
public string ErrorMessage { get; set; }
}
Properties
- Success Indicates whether the operation was successful.
- ErrorMessage Contains an error message in the event of operation failure.