Session Class

Represents a session.

Inheritance Hierarchy

System.Object
  Microsoft.ServiceBus.Messaging.Session

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

Syntax

'Declaration
Public MustInherit Class Session
'Usage
Dim instance As Session
public abstract class Session
public ref class Session abstract
[<AbstractClassAttribute>]
type Session =  class end
public abstract class Session

The Session type exposes the following members.

Properties

  Name Description
Public property Id Gets or sets the identifier of the session.

Top

Methods

  Name Description
Public method BeginGetState Begins a get state operation.
Public method BeginSetState Begins a set state operation.
Public method EndGetState Ends a get state operation.
Public method EndSetState Ends a set state operation.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetState Gets the state.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBeginGetState Executes the begin get state action.
Protected method OnBeginSetState Executes the begin set state action.
Protected method OnEndGetState Executes the end get state action.
Protected method OnEndSetState Executes the end set state action.
Protected method OnGetState Executes the get state action.
Protected method OnSetState Executes the set state action.
Public method SetState Sets a state.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ServiceBus.Messaging Namespace