Partager via


<security> of <netPeerBinding>

Defines the security settings of the <netPeerTcpBinding>.

<system.serviceModel>

  <bindings>

    <netPeerTcpBinding>

      <binding>

        <security> of <netPeerBinding>

                                    
                                    <netPeerBinding>
                                
                                    
                                        <binding>
                                
                                    
                                            <security mode="None/Transport/Message/TransportWithMessageCredential">
                                
                                    
                                                <transport clientCredentialType="None/Windows/UserName/Certificate/InfoCard" />
                                
                                    
                                            </security>
                                
                                    
                                        </binding>
                                
                                    
                                    </netPeerBinding>
                                

Attributes and Elements

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

Attributes

Attribute Description

mode

Optional. Specifies the type of security to be applied. The default value is Message. This attribute is of type SecurityMode.

mode Attribute

Value Description

None

Security is disabled.

Transport

Security is provided using HTTPS.

Message

SOAP security provides authentication, integrity and confidentiality.

TransportWithMessageCredential

HTTPS provides authentication and confidentiality. SOAP messages provide rich credential types.

Child Elements


Element Description

<transport> of <netPeerTcpBinding>

Defines the security settings for the message. This element is of type PeerTransportSecurityElement.

Parent Elements

Element Description

<binding>

Defines all binding capabilities of the <netPeerTcpBinding>.

See Also

Reference

PeerSecurityElement

Footer image

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