Skip to content

M_CodeJam_UriCodeExceptions_ArgumentNotWellFormedUri

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

UriCodeExceptions.ArgumentNotWellFormedUri Method

Creates ArgumentException for invalid URI value.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

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 

Parameters

 

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.

Return Value

Type: ArgumentException
Initialized instance of ArgumentException.

See Also

Reference

UriCodeExceptions Class
CodeJam Namespace

Clone this wiki locally