-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_UriCodeExceptions_ArgumentNotWellFormedUri
Andrew Koryavchenko edited this page Jun 17, 2018
·
2 revisions
Creates ArgumentException for invalid URI value.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static ArgumentException ArgumentNotWellFormedUri(
string argumentName,
string uri,
UriKind uriKind
)
VB
Public Shared Function ArgumentNotWellFormedUri (
argumentName As String,
uri As String,
uriKind As UriKind
) As ArgumentException
F#
static member ArgumentNotWellFormedUri :
argumentName : string *
uri : string *
uriKind : UriKind -> ArgumentException
- argumentName
- Type: System.String
Name of the argument. - uri
- Type: System.String
The URI being checked. - uriKind
- Type: System.UriKind
Expected kind of the URI.
Type: ArgumentException
Initialized instance of ArgumentException.