Verify.NotDisposed Methode

Definition

Überlädt

NotDisposed(IDisposableObservable, String)

Löst eine aus, ObjectDisposedException Wenn ein Objekt verworfen wird.

NotDisposed(Boolean, String)

Löst eine aus, ObjectDisposedException Wenn eine Bedingung false ist.

NotDisposed(Boolean, Object, String)

Löst eine aus, ObjectDisposedException Wenn eine Bedingung false ist.

NotDisposed(IDisposableObservable, String)

Löst eine aus, ObjectDisposedException Wenn ein Objekt verworfen wird.

[System.Diagnostics.DebuggerStepThrough]
public static void NotDisposed (Microsoft.IDisposableObservable disposedValue, string? message = default);
[<System.Diagnostics.DebuggerStepThrough>]
static member NotDisposed : Microsoft.IDisposableObservable * string -> unit
Public Shared Sub NotDisposed (disposedValue As IDisposableObservable, Optional message As String = Nothing)

Parameter

disposedValue
IDisposableObservable
message
String
Attribute

Gilt für

NotDisposed(Boolean, String)

Löst eine aus, ObjectDisposedException Wenn eine Bedingung false ist.

public:
 static void NotDisposed(bool condition, System::String ^ message);
[System.Diagnostics.DebuggerStepThrough]
public static void NotDisposed (bool condition, string message);
[<System.Diagnostics.DebuggerStepThrough>]
static member NotDisposed : bool * string -> unit
Public Shared Sub NotDisposed (condition As Boolean, message As String)

Parameter

condition
Boolean
message
String
Attribute

Gilt für

NotDisposed(Boolean, Object, String)

Löst eine aus, ObjectDisposedException Wenn eine Bedingung false ist.

[System.Diagnostics.DebuggerStepThrough]
public static void NotDisposed (bool condition, object disposedValue, string message = default);
[<System.Diagnostics.DebuggerStepThrough>]
static member NotDisposed : bool * obj * string -> unit
Public Shared Sub NotDisposed (condition As Boolean, disposedValue As Object, Optional message As String = Nothing)

Parameter

condition
Boolean
disposedValue
Object
message
String
Attribute

Gilt für