23 references to Handle
System.Data (23)
fx\src\data\System\Data\SqlClient\TdsParser.cs (12)
506
UInt32 result = SNINativeMethodWrapper.SniGetConnectionId(_physicalStateObj.
Handle
, ref _connHandler._clientConnectionId);
536
UInt32 retCode = SNINativeMethodWrapper.SniGetConnectionId(_physicalStateObj.
Handle
, ref _connHandler._clientConnectionId);
581
error = SNINativeMethodWrapper.SNIRemoveProvider(_physicalStateObj.
Handle
, SNINativeMethodWrapper.ProviderEnum.SSL_PROV);
602
error = SNINativeMethodWrapper.SNIAddProvider(_pMarsPhysicalConObj.
Handle
, SNINativeMethodWrapper.ProviderEnum.SMUX_PROV, ref info);
619
error = SNINativeMethodWrapper.SNIReadAsync(_pMarsPhysicalConObj.
Handle
, ref temp);
638
TdsParserStateObject session = new TdsParserStateObject(this, (SNIHandle)_pMarsPhysicalConObj.
Handle
, true);
696
var stateObjHandle = stateObj.
Handle
;
710
var marsStateObjHandle = marsStateObj.
Handle
;
1000
error = SNINativeMethodWrapper.SNIAddProvider(_physicalStateObj.
Handle
, SNINativeMethodWrapper.ProviderEnum.SSL_PROV, ref info);
1011
error = SNINativeMethodWrapper.SNIWaitForSSLHandshakeToComplete(_physicalStateObj.
Handle
, _physicalStateObj.GetTimeoutRemaining());
2434
UInt32 result = SNINativeMethodWrapper.SNISetInfo(_physicalStateObj.
Handle
, SNINativeMethodWrapper.QTypes.SNI_QUERY_CONN_BUFSIZE, ref unsignedPacketSize);
7540
if(0 != SNINativeMethodWrapper.SNISecGenClientContext(_physicalStateObj.
Handle
, receivedBuff, receivedLength, sendBuff, ref sendLength, _sniSpnBuffer))
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (1)
107
var sessionHandle = session.
Handle
;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (10)
1952
SNIHandle handle =
Handle
;
2158
handle =
Handle
;
2247
error = SNINativeMethodWrapper.SNICheckConnection(
Handle
);
2295
SNIHandle handle =
Handle
;
2333
SNIHandle handle =
Handle
;
3009
SNIPacket attnPacket = new SNIPacket(
Handle
);
3040
SNIWritePacket(
Handle
, attnPacket, out sniError, canAccumulate:false, callerHasConnectionLock: false);
3077
Task task = SNIWritePacket(
Handle
, packet, out sniError, canAccumulate, callerHasConnectionLock: true);
3124
SNINativeMethodWrapper.SNIPacketReset(
Handle
, SNINativeMethodWrapper.IOType.WRITE, _sniPacket, SNINativeMethodWrapper.ConsumerNumber.SNI_Consumer_SNI);
3128
_sniPacket = _writePacketCache.Take(
Handle
);