Share via


HttpConnection.ConnectionId 属性

定义

获取或设置连接 ID。

public:
 virtual property System::String ^ ConnectionId { System::String ^ get(); void set(System::String ^ value); };
public override string ConnectionId { get; set; }
public override string? ConnectionId { get; set; }
member this.ConnectionId : string with get, set
Public Overrides Property ConnectionId As String

属性值

注解

连接 ID 是在启动时设置 HttpConnection 的,不应由用户代码设置。 如果创建连接时 SkipNegotiation 将 设置为 true ,则连接 ID 将为 null

适用于