Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Represents a custom binding element that supports channel security using an SSL stream.
<configuration>
<system.serviceModel>
<bindings>
<customBinding>
<binding>
<sslStreamSecurity>
Syntax
<sslStreamSecurity requireClientCertificate="Boolean"
sslProtocols="Ssl3|Tls|Tls11|Tls12" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| requireClientCertificate | A Boolean value that specifies if a client certificate is required for this binding. The default is false. |
| sslProtocols | A SslProtocols enum flag value that specifies which SslProtocols are supported. The default is Ssl3|Tls|Tls11|Tls12. |
Child Elements
None.
Parent Elements
| Element | Description |
|---|---|
| <binding> | Defines all binding capabilities of the custom binding. |
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.