Share via


<security> of <netPeerBinding>

Defines the security settings of the <netPeerTcpBinding>, including the type of authentication used and the security used for the message transport.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <netPeerTcpBinding>
      <binding>
        <security> of <netPeerBinding>

Syntax

<netPeerBinding>
    <binding>
        <security mode="Message/None/Transport//TransportWithMessageCredential">
            <transport credentialType="Certificate/Password" />
        </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 used by peers configured with this binding. The default value is Message. This attribute is of type SecurityMode.

Child Elements

Element Description

<transport> of <netPeerTcpBinding>

Defines the transport type for secured messages sent by peers configured with this binding. This element is of type PeerTransportSecurityElement.

Parent Elements

Element Description

<binding>

Defines all binding capabilities of the <netPeerTcpBinding>.

Remarks

Security can be either message- or transport-specific.

See Also

Reference

PeerSecurityElement
Security
Security
PeerSecuritySettings

Concepts

<binding>

Other Resources

Securing Services and Clients
Selecting a Credential Type
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05