Επεξεργασία

Κοινή χρήση μέσω


<security> of <netNamedPipeBinding>

Defines the security settings for a binding.

<configuration>
  <system.serviceModel>
    <bindings>
      <netNamedPipeBinding>
        <binding>
          <security>

Syntax

<netNamedPipeBinding>
  <binding>
    <security mode="None/Transport">
      <transport protectionLevel="None/Sign/EncryptAndSign" />
    </security>
  </binding>
</netNamedPipeBinding>

Attributes and Elements

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

Attributes

Attribute Description
mode Specifies the type of security that is applied to this binding. Valid values include the following:

- None: This disables security.
- Transport: Security is provided using underlying transport based security. It is possible to control the protection level with this mode.
- The default value is Transport. This attribute is of type NetNamedPipeSecurityMode.

Child Elements

Element Description
transport Defines the security settings for the transport. This element is of type NamedPipeTransportSecurityElement.

Parent Elements

Element Description
binding The binding element of the <netNamedPipeBinding>.

See also