Base:
property
IsInvalid
System.Runtime.InteropServices.SafeHandle.IsInvalid
5 references to IsInvalid
System (5)
net\System\Net\_SecureChannel.cs (1)
1052
if (!cachedCreds && m_SecurityContext != null && !m_SecurityContext.IsInvalid && !m_CredentialsHandle.
IsInvalid
)
net\System\Net\_SslSessionsCache.cs (4)
141
if (cached == null || cached.IsClosed || cached._Target.
IsInvalid
)
159
if (creds.
IsInvalid
)
169
if (cached == null || cached.IsClosed || cached._Target.
IsInvalid
)
212
if (!creds.IsClosed && !creds.
IsInvalid
&& (cached = SafeCredentialReference.CreateReference(creds)) != null)