WinIOError() private method

private WinIOError ( int errorCode ) : Exception
errorCode int
return Exception
Example #1
0
 protected override void HandleError(int errorCode)
 {
     TrySetException(_pipeStream.WinIOError(errorCode));
 }
Example #2
0
 protected override void HandleError(int errorCode) =>
 TrySetException(ExceptionDispatchInfo.SetCurrentStackTrace(_pipeStream.WinIOError(errorCode)));