System.IO.ErrorEventArgs.GetException C# (CSharp) Méthode

GetException() public méthode

public GetException ( ) : System.Exception
Résultat System.Exception
        public virtual System.Exception GetException() { throw null; }
    }

Usage Example

Exemple #1
0
        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