private void ThrowIfSbmpClient(string operationName) { if (this.cachedSettings.Value.TransportType == TransportType.NetMessaging) { throw new NotSupportedException(SRCore.UnsupportedTransport(operationName, TransportType.NetMessaging.ToString())); } }
public virtual Task <EventHubRuntimeInformation> GetRuntimeInformationAsync() { throw new NotSupportedException(SRCore.UnsupportedTransport("GetRuntimeInformationAsync", TransportType.NetMessaging.ToString())); }