Skip to content

M_CodeJam_CodeExceptions_ObjectDisposed_1

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

CodeExceptions.ObjectDisposed Method (Type, String, Object[])

Throw this if the object is disposed.

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

Syntax

C#

public static ObjectDisposedException ObjectDisposed(
	Type typeofDisposedObject,
	string messageFormat,
	params Object[] args
)

VB

Public Shared Function ObjectDisposed ( 
	typeofDisposedObject As Type,
	messageFormat As String,
	ParamArray args As Object()
) As ObjectDisposedException

F#

static member ObjectDisposed : 
        typeofDisposedObject : Type * 
        messageFormat : string * 
        args : Object[] -> ObjectDisposedException 

Parameters

 

typeofDisposedObject
Type: System.Type
The typeof disposed object.
messageFormat
Type: System.String
The message format.
args
Type: System.Object[]
The arguments.

Return Value

Type: ObjectDisposedException
Initialized instance of ObjectDisposedException.

See Also

Reference

CodeExceptions Class
ObjectDisposed Overload
CodeJam Namespace

Clone this wiki locally