Dispose Method (Boolean)
Releases the unmanaged resources used by the BusinessDataAdmin2FreeThreaded and optionally releases the managed resources.
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)
Syntax
'Declaration
Protected Sub Dispose ( _
disposing As Boolean _
)
'Usage
Dim disposing As Boolean
Me.Dispose(disposing)
protected void Dispose(
bool disposing
)
protected:
void Dispose(
bool disposing
)
protected function Dispose(
disposing : boolean
)
Parameters
- disposing
Type: System..::.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Remarks
Release the unmanaged resources used by this object and optionally release the managed resources. This method is called by the public Dispose. Dispose invokes the protected Dispose(Boolean) method with the disposing parameter set to true.
When the disposing parameter is true, this method releases all resources held by any managed objects that this object references. This method invokes the Dispose method of each referenced object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BusinessDataAdmin2FreeThreaded Class