XEventFileSerializer.Dispose Method (Boolean)
Releases the unmanaged resources used by the XEventFileSerializer class and optionally releases the managed resources.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
<HandleProcessCorruptedStateExceptionsAttribute> _
Protected Overridable Sub Dispose ( _
As Boolean _
)
'Usage
DimAs Boolean
Me.Dispose()
[HandleProcessCorruptedStateExceptionsAttribute]
protected virtual void Dispose(
bool
)
[HandleProcessCorruptedStateExceptionsAttribute]
protected:
virtual void Dispose(
bool
)
[<HandleProcessCorruptedStateExceptionsAttribute>]
abstract Dispose :
:bool -> unit
[<HandleProcessCorruptedStateExceptionsAttribute>]
override Dispose :
:bool -> unit
protected function Dispose(
: boolean
)
Parameters
- Type: System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.