Skip to content

M_CodeJam_CodeExceptions_InvalidOperation

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

CodeExceptions.InvalidOperation Method

Creates InvalidOperationException.

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

Syntax

C#

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

VB

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

F#

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

Parameters

 

messageFormat
Type: System.String
The message format.
args
Type: System.Object[]
The arguments.

Return Value

Type: InvalidOperationException
Initialized instance of InvalidOperationException.

See Also

Reference

CodeExceptions Class
CodeJam Namespace

Clone this wiki locally