Creates a web request URI.
protected Uri GetRequestUri()
The web request URI.
Creates a web request URI using the specified relative URI.
protected Uri GetRequestUri(string relativeUri)
parameter | description |
---|---|
relativeUri | The relative URI. |
The web request URI.
Creates a web request URI using the specified relative URI pattern and parameters.
protected Uri GetRequestUri(string relativeUriPattern,
IEnumerable<KeyValuePair<string, object?>> uriParameters)
parameter | description |
---|---|
relativeUriPattern | The relative URI pattern. |
uriParameters | The URI parameters. |
The web request URI.
See UriUtility.FromPattern for acceptable parameter values.
Creates a web request URI using the specified relative URI pattern and parameters.
protected Uri GetRequestUri(string relativeUriPattern, params string[] parameters)
parameter | description |
---|---|
relativeUriPattern | The relative URI pattern. |
parameters | The URI parameters. |
The web request URI.
Each pair of parameters represents a key and a value. See UriUtility.FromPattern for acceptable parameter values.