2 instantiations of SNIHandle
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
299
_sessionHandle = new
SNIHandle
(myInfo, physicalConnection);
765
_sessionHandle = new
SNIHandle
(myInfo, serverName, spnBuffer, ignoreSniOpenTimeout, checked((int)timeout), out instanceName, flushCache, !async, fParallel, transparentNetworkResolutionState, totalTimeout);
14 references to SNIHandle
System.Data (14)
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
638
TdsParserStateObject session = new TdsParserStateObject(this, (
SNIHandle
)_pMarsPhysicalConObj.Handle, true);
696
var
stateObjHandle = stateObj.Handle;
710
var
marsStateObjHandle = marsStateObj.Handle;
fx\src\data\System\Data\SqlClient\TdsParserSafeHandles.cs (2)
159
internal SNIHandle(SNINativeMethodWrapper.ConsumerInfo myInfo,
SNIHandle
parent) : base(IntPtr.Zero, true) {
226
public SNIPacket Take(
SNIHandle
sniHandle) {
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (1)
107
var
sessionHandle = session.Handle;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (8)
51
private
SNIHandle
_sessionHandle = null; // the SNI handle we're to work on
283
internal TdsParserStateObject(TdsParser parser,
SNIHandle
physicalConnection, bool async) {
335
internal
SNIHandle
Handle {
1952
SNIHandle
handle = Handle;
2152
SNIHandle
handle = null;
2295
SNIHandle
handle = Handle;
2333
SNIHandle
handle = Handle;
2887
private Task SNIWritePacket(
SNIHandle
handle, SNIPacket packet, out UInt32 sniError, bool canAccumulate, bool callerHasConnectionLock) {