Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityBindingElement::CreateSslNegotiationBindingElement Method (Boolean, Boolean)

 

Creates a symmetric security binding element that does SOAP SSL negotiation, noting whether a client certificate and cancellation is required.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
static SymmetricSecurityBindingElement^ CreateSslNegotiationBindingElement(
	bool requireClientCertificate,
	bool requireCancellation
)

Parameters

requireClientCertificate
Type: System::Boolean

true if a client certificate is required during the SSL negotiation.

requireCancellation
Type: System::Boolean

true if cancellation is required. Setting it to false enables a security context token that is useful in Web farm scenarios, because in this mode the session state is encoded inside the established security context token instead of being kept in the server memory.

The security context token issued after the SSL negotiation is session based is requireCancellation is true; otherwise, it is cookie based.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft