Base:
property
IsInvalid
System.Runtime.InteropServices.SafeHandle.IsInvalid
28 references to IsInvalid
System.Core (28)
System\Diagnostics\Eventing\Reader\EventLogConfiguration.cs (1)
257if ( handle != null && !handle.IsInvalid )
System\Diagnostics\Eventing\Reader\EventLogPropertySelector.cs (1)
80if (renderContextHandleValues != null && !renderContextHandleValues.IsInvalid)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (3)
121if (!bookmarkHandle.IsInvalid) { 211if (handle != null && !handle.IsInvalid) 334if (queryHandle.IsInvalid)
System\Diagnostics\Eventing\Reader\EventLogRecord.cs (1)
376if ( this.handle != null && !this.handle.IsInvalid )
System\Diagnostics\Eventing\Reader\EventLogSession.cs (6)
76if (!this.renderContextHandleSystem.IsInvalid) 79if (this.renderContextHandleSystem.IsInvalid) { 92if (this.renderContextHandleUser.IsInvalid) { 168!this.renderContextHandleSystem.IsInvalid) 172!this.renderContextHandleUser.IsInvalid) 175if (handle != null && !handle.IsInvalid)
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (1)
148if (handle != null && !handle.IsInvalid)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (12)
72if (handle.IsInvalid) 115if (handle.IsInvalid) 176if (handle.IsInvalid) 195if (emEnumHandle.IsInvalid) 206if (emHandle.IsInvalid) { 222if (channelEnum.IsInvalid) 234if (pubEnum.IsInvalid) 246if (handle.IsInvalid) 268if (logHandle.IsInvalid) 341if (renderContextHandleValues.IsInvalid) 380if (handle.IsInvalid) 392if (handle.IsInvalid)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (3)
214if ( this.defaultProviderHandle.IsInvalid ) { 363if (this.defaultProviderHandle.IsInvalid) { 556if (handle != null && !handle.IsInvalid)