System.IO.ErrorEventArgs.GetException C# (CSharp) Method

GetException() public method

public GetException ( ) : System.Exception
return System.Exception
        public virtual System.Exception GetException() { throw null; }
    }

Usage Example

コード例 #1
0
ファイル: ErrorEventArgs.unit.cs プロジェクト: SGuyGe/corefx
        private static void ValidateErrorEventArgs(Exception exception)
        {
            ErrorEventArgs args = new ErrorEventArgs(exception);

            Assert.Equal(exception, args.GetException());

            // Make sure method is consistent.
            Assert.Equal(exception, args.GetException());
        }
All Usage Examples Of System.IO.ErrorEventArgs::GetException