private void InitializeTransportSecurity(HttpRelayTransportSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.Transport.ProxyCredentialType = security.ProxyCredentialType; }
internal void InitializeFrom(HttpRelayTransportSecurity security) { if (security == null) { throw Microsoft.ServiceBus.Diagnostics.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.ProxyCredentialType = security.ProxyCredentialType; }