CSharpTest.Net
IsDisposed Property
See Also  Example Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Processes Namespace > AssemblyRunner Class : IsDisposed Property

Glossary Item Box

Returns true if this object's worker domain has been unloaded.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property IsDisposed As Boolean
C# 
public bool IsDisposed {get;}

Example

Library/Library.Test/TestAssemblyRunner.cs

C#Copy Code
AssemblyRunner runner = new AssemblyRunner(Exe);
runner.Dispose();
Assert.IsTrue(runner.IsDisposed);
VB.NETCopy Code
Dim runner As New AssemblyRunner(Exe)
runner.Dispose()
Assert.IsTrue(runner.IsDisposed)

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys