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.

LocalClientSecuritySettings::ReconnectTransportOnFailure Property

 

Gets or sets a value that indicates whether security sessions attempt to reconnect after transport failures.

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

public:
property bool ReconnectTransportOnFailure {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if security sessions attempt to reconnect after transport failures; otherwise, false. The default is true.

If this flag is set to true, the client tries to send messages that correspond to a single security session over multiple transport connections. It establishes a new transport connection if the previous connection fails. This is useful in the case of secure WS-ReliableMessaging because the client requires the session to tolerate transient transport failures.

This example shows how to get a value that indicates whether security sessions attempt to reconnect after transport failures.

No code example is currently available or this language may not be supported.

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