public MsmqIntegrationBinding(MsmqIntegrationSecurityMode securityMode) { if (!MsmqIntegrationSecurityModeHelper.IsDefined(securityMode)) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("securityMode", (int)securityMode, typeof(MsmqIntegrationSecurityMode))); Initialize(); this.security.Mode = securityMode; }
internal static bool IsDefined(MsmqIntegrationSecurityMode value) { if (value != MsmqIntegrationSecurityMode.Transport) { return (value == MsmqIntegrationSecurityMode.None); } return true; }
internal static bool IsDefined(MsmqIntegrationSecurityMode value) { if (value != MsmqIntegrationSecurityMode.Transport) { return(value == MsmqIntegrationSecurityMode.None); } return(true); }
public MsmqIntegrationBinding(MsmqIntegrationSecurityMode securityMode) { if (!MsmqIntegrationSecurityModeHelper.IsDefined(securityMode)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("securityMode", (int)securityMode, typeof(MsmqIntegrationSecurityMode))); } Initialize(); this.security.Mode = securityMode; }
public MsmqIntegrationSecurity() { this.mode = DefaultMode; this.transportSecurity = new MsmqTransportSecurity(); }
public MsmqIntegrationBinding (MsmqIntegrationSecurityMode securityMode) { security = new MsmqIntegrationSecurity (); security.Mode = securityMode; }
public MsmqIntegrationSecurity() { this.mode = DefaultMode; this.transportSecurity = new MsmqTransportSecurity(); }
public MsmqIntegrationBinding(MsmqIntegrationSecurityMode securityMode) { security = new MsmqIntegrationSecurity(); security.Mode = securityMode; }
public MsmqIntegrationBinding(MsmqIntegrationSecurityMode securityMode) { }
public MsmqIntegrationBinding(MsmqIntegrationSecurityMode securityMode) { }