Skip to content

M_CodeJam_CodeExceptions_ObjectDisposed_1

andrewvk edited this page Mar 30, 2016 · 7 revisions

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

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

Throw this if the object is disposed.

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

Syntax

C#

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

VB

<StringFormatMethodAttribute("messageFormat")>
<NotNullAttribute>
Public Shared Function ObjectDisposed ( 
	<CanBeNullAttribute> typeofDisposedObject As Type,
	<NotNullAttribute> messageFormat As String,
	<CanBeNullAttribute> ParamArray args As Object()
) As ObjectDisposedException

F#

[<StringFormatMethodAttribute("messageFormat")>]
[<NotNullAttribute>]
static member ObjectDisposed : 
        [<CanBeNullAttribute>] typeofDisposedObject : Type * 
        [<NotNullAttribute>] messageFormat : string * 
        [<CanBeNullAttribute>] args : Object[] -> ObjectDisposedException 

Parameters

 

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

Return Value

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

See Also

Reference

CodeExceptions Class
ObjectDisposed Overload
CodeJam Namespace

Clone this wiki locally