Esempio n. 1
0
 private void ThrowIfSenderNull(string operationName)
 {
     this.EnsureCreateInternalSender();
     if (this.InternalSender == null)
     {
         throw FxTrace.Exception.AsError(new InvalidOperationException(SRCore.UnsupportedOperation(operationName)), null);
     }
 }