Пример #1
0
 private void ThrowIfSbmpClient(string operationName)
 {
     if (this.cachedSettings.Value.TransportType == TransportType.NetMessaging)
     {
         throw new NotSupportedException(SRCore.UnsupportedTransport(operationName, TransportType.NetMessaging.ToString()));
     }
 }
Пример #2
0
 public virtual Task <EventHubRuntimeInformation> GetRuntimeInformationAsync()
 {
     throw new NotSupportedException(SRCore.UnsupportedTransport("GetRuntimeInformationAsync", TransportType.NetMessaging.ToString()));
 }