Skip to content

M_CodeJam_CodeExceptions_UnexpectedValue

andrewvk edited this page Apr 5, 2016 · 8 revisions

CodeExceptions.UnexpectedValue Method (String, Object[])

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

Creates . Used to be thrown from default: switch clause

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

Syntax

C#

public static InvalidOperationException UnexpectedValue(
	string messageFormat,
	params Object[] args
)

VB

Public Shared Function UnexpectedValue ( 
	messageFormat As String,
	ParamArray args As Object()
) As InvalidOperationException

F#

static member UnexpectedValue : 
        messageFormat : string * 
        args : Object[] -> InvalidOperationException 

Parameters

 

messageFormat
Type: System.String
[Missing documentation for "M:CodeJam.CodeExceptions.UnexpectedValue(System.String,System.Object[])"]
args
Type: System.Object[]
[Missing documentation for "M:CodeJam.CodeExceptions.UnexpectedValue(System.String,System.Object[])"]

Return Value

Type: InvalidOperationException
[Missing documentation for "M:CodeJam.CodeExceptions.UnexpectedValue(System.String,System.Object[])"]

See Also

Reference

CodeExceptions Class
UnexpectedValue Overload
CodeJam Namespace
System.InvalidOperationException

Clone this wiki locally