Share via


ResultSnippet.Dispose Method (Boolean)

Applies To: Windows 8.1

Releases all resources used by the object.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim A_0 As Boolean

Me.Dispose(A_0)

Syntax

'Declaration
<HandleProcessCorruptedStateExceptionsAttribute> _
Protected Overridable Sub Dispose ( _
    A_0 As Boolean _
)
[HandleProcessCorruptedStateExceptionsAttribute] 
protected virtual void Dispose (
    bool A_0
)
[HandleProcessCorruptedStateExceptionsAttribute] 
protected:
virtual void Dispose (
    bool A_0
)
/** @attribute HandleProcessCorruptedStateExceptionsAttribute() */ 
protected void Dispose (
    boolean A_0
)
HandleProcessCorruptedStateExceptionsAttribute 
protected function Dispose (
    A_0 : boolean
)

Parameters

  • A_0
    A Boolean value.

Remarks

This method is called by the Finalize method. Dispose() invokes the protected Dispose(Boolean) method with the unnamed Boolean parameter set to true. Finalize invokes Dispose with the parameter set to false.

When the Boolean parameter is true, this method releases all resources that are held by any managed objects that this ResultSnippet references. This method invokes the Dispose() method of each referenced object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

ResultSnippet Class
ResultSnippet Members
Microsoft.Assessments.Runtime Namespace