IComThreadingInfo.GetCurrentLogicalThreadId Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetCurrentLogicalThreadId ( _
<OutAttribute> ByRef pguidLogicalThreadId As Guid _
)
'使用
Dim instance As IComThreadingInfo
Dim pguidLogicalThreadId As Guid
instance.GetCurrentLogicalThreadId(pguidLogicalThreadId)
void GetCurrentLogicalThreadId(
out Guid pguidLogicalThreadId
)
void GetCurrentLogicalThreadId(
[OutAttribute] Guid% pguidLogicalThreadId
)
abstract GetCurrentLogicalThreadId :
pguidLogicalThreadId:Guid byref -> unit
function GetCurrentLogicalThreadId(
pguidLogicalThreadId : Guid
)
Parameters
- pguidLogicalThreadId
Type: System.Guid%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.