Skip to content

M_CodeJam_CodeExceptions_UnexpectedArgumentValue__1

andrewvk edited this page Apr 5, 2016 · 6 revisions

CodeExceptions.UnexpectedArgumentValue(T) Method (String, T)

[This is preliminary documentation and is subject to change.]

Creates . Used to be thrown from the default: switch clause

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

Syntax

C#

public static ArgumentOutOfRangeException UnexpectedArgumentValue<T>(
	string argumentName,
	T value
)

VB

Public Shared Function UnexpectedArgumentValue(Of T) ( 
	argumentName As String,
	value As T
) As ArgumentOutOfRangeException

F#

static member UnexpectedArgumentValue : 
        argumentName : string * 
        value : 'T -> ArgumentOutOfRangeException 

Parameters

 

argumentName
Type: System.String
[Missing documentation for "M:CodeJam.CodeExceptions.UnexpectedArgumentValue1(System.String,0)"]
value
Type: T
[Missing documentation for "M:CodeJam.CodeExceptions.UnexpectedArgumentValue1(System.String,0)"]

Type Parameters

 

T

Return Value

Type: ArgumentOutOfRangeException
[Missing documentation for "M:CodeJam.CodeExceptions.UnexpectedArgumentValue1(System.String,0)"]

See Also

Reference

CodeExceptions Class
UnexpectedArgumentValue Overload
CodeJam Namespace
System.ArgumentOutOfRangeException

Clone this wiki locally