System.Net.Http.WinHttpException.ThrowExceptionUsingLastError C# (CSharp) 메소드

ThrowExceptionUsingLastError() 공개 정적인 메소드

public static ThrowExceptionUsingLastError ( ) : void
리턴 void
        public static void ThrowExceptionUsingLastError()
        {
            throw CreateExceptionUsingLastError();
        }

Usage Example

예제 #1
0
 private void ThrowOnInvalidHandle(SafeWinHttpHandle handle)
 {
     if (handle.IsInvalid)
     {
         WinHttpException.ThrowExceptionUsingLastError();
     }
 }
All Usage Examples Of System.Net.Http.WinHttpException::ThrowExceptionUsingLastError