CmisSync.Lib.Events.ExceptionEvent.ToString C# (CSharp) Метод

ToString() публичный Метод

Returns a System.String that represents the current CmisSync.Lib.Events.ExceptionEvent containing the Message of the embedded exception.
public ToString ( ) : string
Результат string
        public override string ToString() {
            return this.Exception.Message;
        }
    }

Usage Example

 public void ToStringIsImplemented() {
     var exception = new Mock<Exception>(string.Empty) { CallBase = true }.Object;
     var ev = new ExceptionEvent(exception);
     Assert.IsNotNull(ev.ToString());
 }