AspNetWebSocketContext.Path 属性

定义

获取所请求资源的虚拟路径。

public:
 virtual property System::String ^ Path { System::String ^ get(); };
public virtual string Path { get; }
member this.Path : string
Public Overridable ReadOnly Property Path As String

属性值

虚拟路径。

例外

未实现该属性。

注解

作为虚拟路径的示例,对于 URL http://www.contoso.com/virdir/page.html/tail,此属性的值为 /virdir/page.html/tail

适用于