Compartir a través de


Guard.ValidateUri(Uri, String) Method

Definition

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.

Applies to