Share via


SessionReceiver.SessionId Property

Gets or sets the identifier of the session.

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

Syntax

'Declaration
Public Overridable Property SessionId As String
    Get
    Private Set
'Usage
Dim instance As SessionReceiver
Dim value As String

value = instance.SessionId
public virtual string SessionId { get; private set; }
public:
virtual property String^ SessionId {
    String^ get ();
    private: void set (String^ value);
}
abstract SessionId : string with get, private set
override SessionId : string with get, private set
function get SessionId () : String
private function set SessionId (value : String)

Property Value

Type: System.String
A string.

See Also

Reference

SessionReceiver Class

Microsoft.ServiceBus.Messaging Namespace