16 references to SafeHandleType
System.Net.Quic (16)
System\Net\Quic\Internal\MsQuicApi.cs (1)
50
Registration = new MsQuicSafeHandle(handle, apiTable->RegistrationClose,
SafeHandleType
.Registration);
System\Net\Quic\Internal\MsQuicSafeHandle.cs (10)
26
private readonly
SafeHandleType
_type;
32
public MsQuicSafeHandle(QUIC_HANDLE* handle, delegate* unmanaged[Cdecl]<QUIC_HANDLE*, void> releaseAction,
SafeHandleType
safeHandleType)
44
public MsQuicSafeHandle(QUIC_HANDLE* handle,
SafeHandleType
safeHandleType)
49
SafeHandleType
.Registration => MsQuicApi.Api.ApiTable->RegistrationClose,
50
SafeHandleType
.Configuration => MsQuicApi.Api.ApiTable->ConfigurationClose,
51
SafeHandleType
.Listener => MsQuicApi.Api.ApiTable->ListenerClose,
52
SafeHandleType
.Connection => MsQuicApi.Api.ApiTable->ConnectionClose,
53
SafeHandleType
.Stream => MsQuicApi.Api.ApiTable->StreamClose,
112
public unsafe MsQuicContextSafeHandle(QUIC_HANDLE* handle, GCHandle context,
SafeHandleType
safeHandleType, MsQuicSafeHandle? parent = null)
156
: base(handle,
SafeHandleType
.Configuration) { }
System\Net\Quic\QuicConnection.cs (2)
328
_handle = new MsQuicContextSafeHandle(handle, context,
SafeHandleType
.Connection);
355
_handle = new MsQuicContextSafeHandle(handle, context,
SafeHandleType
.Connection);
System\Net\Quic\QuicListener.cs (1)
131
_handle = new MsQuicContextSafeHandle(handle, context,
SafeHandleType
.Listener);
System\Net\Quic\QuicStream.cs (2)
179
_handle = new MsQuicContextSafeHandle(handle, context,
SafeHandleType
.Stream, connectionHandle)
213
_handle = new MsQuicContextSafeHandle(handle, context,
SafeHandleType
.Stream, connectionHandle)