通过


HttpRequestMessage.RequestUri 属性

定义

获取或设置 Uri 用于 HTTP 请求的项。

public:
 property Uri ^ RequestUri { Uri ^ get(); void set(Uri ^ value); };
public Uri RequestUri { get; set; }
public Uri? RequestUri { get; set; }
member this.RequestUri : Uri with get, set
Public Property RequestUri As Uri

属性值

Uri

Uri用于 HTTP 请求。

注解

如果请求是相对 URI,它将与 <a0/a0> 组合在一起。

适用于