Skip to content

M_CodeJam_CodeExceptions_Argument

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

CodeExceptions.Argument Method

Creates ArgumentException.

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

Syntax

C#

public static ArgumentException Argument(
	string argumentName,
	string messageFormat,
	params Object[] args
)

VB

Public Shared Function Argument ( 
	argumentName As String,
	messageFormat As String,
	ParamArray args As Object()
) As ArgumentException

F#

static member Argument : 
        argumentName : string * 
        messageFormat : string * 
        args : Object[] -> ArgumentException 

Parameters

 

argumentName
Type: System.String
Name of the argument.
messageFormat
Type: System.String
The message format.
args
Type: System.Object[]
The arguments.

Return Value

Type: ArgumentException
Initialized instance of ArgumentException.

See Also

Reference

CodeExceptions Class
CodeJam Namespace

Clone this wiki locally