Megosztás a következőn keresztül:


HttpRequestMessage.RequestUri Property

Definition

Gets or sets the Uri used for the HttpRequestMessage object.

public:
 property Uri ^ RequestUri { Uri ^ get(); void set(Uri ^ value); };
Uri RequestUri();

void RequestUri(Uri value);
public System.Uri RequestUri { get; set; }
var uri = httpRequestMessage.requestUri;
httpRequestMessage.requestUri = uri;
Public Property RequestUri As Uri

Property Value

The Uri used for the HTTP request.

Remarks

The value of the RequestUri must not be a relative Uri.

Applies to