Guard.ValidateUri(Uri, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks a URI argument to ensure it is valid.
public:
static void ValidateUri(Uri ^ argumentValue, System::String ^ argumentName);
public static void ValidateUri (Uri argumentValue, string argumentName);
static member ValidateUri : Uri * string -> unit
Public Shared Sub ValidateUri (argumentValue As Uri, argumentName As String)
Parameters
- argumentValue
- Uri
Specifies the argument value.
- argumentName
- String
Specifies the name of the argument.