Questa documentazione è stata archiviata e non viene gestita.

Proprietà WSHttpBindingBase.ReliableSession

Gets an object that provides convenient access to the properties of a reliable session binding element that are available when using one of the system-provided bindings.

Spazio dei nomi: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

public OptionalReliableSession ReliableSession { get; }
/** @property */
public OptionalReliableSession get_ReliableSession ()

public function get ReliableSession () : OptionalReliableSession

Non applicabile.

Valore proprietà

The ReliableSession that provides convenient access to the properties of a reliable session binding element that are available when using one of the system-provided bindings.

Reliable sessions are enabled with the WSHttpBindingBase(Boolean) constructor.

This example shows how to get the properties of a reliable session binding:

OptionalReliableSession reliableSession =
binding1.ReliableSession;

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile per Pocket PC, Windows Mobile per Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:
Mostra: