共用方式為


<security> of <wsDualHttpBinding>

Defines the security capabilities of the <wsDualHttpBinding>.

<system.serviceModel>

  <bindings>

    <wsDualHttpBinding>

      <binding>

        <security> of <wsDualHttpBinding>

                                    
                                    <wsDualHttpBinding>
                                
                                    
                                            
                                    
                                        <binding >
                                
                                    
                                                
                                    
                                            <security mode="None/Message">
                                
                                    
                                                   
                                    
                                               <message/>
                                
                                    
                                                
                                    
                                            </security>
                                
                                    
                                            
                                    
                                        </binding>
                                
                                    
                                    </wsDualHttpBinding>
                                

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

mode

  • Optional. Specifies the type of security that is applied. The default value is Message. This attribute is of type WSDualHttpSecurityMode.

Mode Attribute

Value Description

None

Security is disabled.

Message

Security is provided using SOAP message security.

Child Elements


Element Description

<message> of <wsDualHttpBinding>

Defines the settings for the message-level security. This element is of type MessageSecurityOverHttp.

Parent Elements

Element Description

<binding>

Defines all binding capabilities of the <wsDualHttpBinding>.

See Also

Reference

WSDualHttpSecurity

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.