共用方式為


<security> of <netNamedPipeBinding>

Defines the security settings for a binding.

<system.serviceModel>

  <binding>

    <netNamedPipeBinding>

      <binding>

        <security> of <netNamedPipeBinding>

                                    
                                    <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

Reference

NetNamedPipeSecurity

Footer image

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