共用方式為


<peer> of <clientCredentials> Element

Specifies credentials used when authenticating peer-to-peer clients.

For more information about peer-to-peer programming, see Peer to Peer Networking.

<system.serviceModel>

  <behaviors>

    <endpointBehaviors>

      <behavior> of <endpointBehaviors>

        <clientCredentials>

          <peer> of <clientCredentials> Element

                                    
                                    <peer>
                                
                                    
                                      <certificate/>
                                
                                    
                                      <peerAuthentication/>
                                
                                    
                                      <messageSenderAuthentication/>
                                
                                    
                                    </peer>
                                

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

<certificate> Element

Specifies an X.509 certificate to use for signing and encrypting messages for peer-to-peer clients. .

<peerAuthentication> Element

Specifies authentication options for peer clients.

<messageSenderAuthentication> element

Specifies authentication options for message senders.

Parent Elements


Element Description

<clientCredentials>

Specifies the credentials used to authenticate a client to a service.

See Also

Other Resources

Peer to Peer Networking

Footer image

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