TaskService/Native/EventLog.cs
/// <summary>Releases unmanaged and - optionally - managed resources.</summary>
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
Releases unmanaged and - optionally - managed resources.
Releases unmanaged and - optionally - managed resources .
[SecuritySafeCritical]
		protected virtual void Dispose(bool disposing)
		{
			if (disposing)
			{
				EventLogPermissionHolder.GetEventLogPermission().Demand();
			}
			if ((handle != null) && !handle.IsInvalid)
			{
				handle.Dispose();
			}
		}
[ SecuritySafeCritical ] protected virtual void Dispose ( bool disposing ) { if ( disposing ) { EventLogPermissionHolder . GetEventLogPermission ( ) . Demand ( ) ; } if ( ( handle != null ) && ! handle . IsInvalid ) { handle . Dispose ( ) ; } }
Releases unmanaged and - optionally - managed resources.
Releases unmanaged and - optionally - managed resources .
disposing
bool
None