Subscription.RequiresSession Property

Gets the value indicating if this subscription supports the concept of session. This reflects the value specified by RequiresSession when the subscription was created.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

Syntax

'Declaration
Public Property RequiresSession As Nullable(Of Boolean)
    Get
    Private Set
'Usage
Dim instance As Subscription
Dim value As Nullable(Of Boolean)

value = instance.RequiresSession
public Nullable<bool> RequiresSession { get; private set; }
public:
property Nullable<bool> RequiresSession {
    Nullable<bool> get ();
    private: void set (Nullable<bool> value);
}
member RequiresSession : Nullable<bool> with get, private set
function get RequiresSession () : Nullable<boolean>
private function set RequiresSession (value : Nullable<boolean>)

Property Value

Type: System.Nullable<Boolean>
Returns Nullable<T>.

See Also

Reference

Subscription Class

Microsoft.ServiceBus.Messaging Namespace