HubConnection.ConnectionId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the connection's current Id. This value will be cleared when the connection is stopped and will have a new value every time the connection is (re)established. This value will be null if the negotiation step is skipped via HttpConnectionOptions or if the WebSockets transport is explicitly specified because the client skips negotiation in that case as well.
public:
property System::String ^ ConnectionId { System::String ^ get(); };
public string ConnectionId { get; }
public string? ConnectionId { get; }
member this.ConnectionId : string
Public ReadOnly Property ConnectionId As String