TraceProcess.GetMethodToken Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a CLR metadata method token and container module MVID for the specified method ID.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Sub GetMethodToken ( _
methodId As Integer, _
<OutAttribute> ByRef mvid As Guid, _
<OutAttribute> ByRef methodToken As Integer _
)
'Usage
Dim instance As TraceProcess
Dim methodId As Integer
Dim mvid As Guid
Dim methodToken As Integer
instance.GetMethodToken(methodId, mvid, _
methodToken)
public void GetMethodToken(
int methodId,
out Guid mvid,
out int methodToken
)
public:
void GetMethodToken(
int methodId,
[OutAttribute] Guid% mvid,
[OutAttribute] int% methodToken
)
member GetMethodToken :
methodId:int *
mvid:Guid byref *
methodToken:int byref -> unit
public function GetMethodToken(
methodId : int,
mvid : Guid,
methodToken : int
)
Parameters
- methodId
Type: System.Int32
Method ID.
- mvid
Type: System.Guid%
MVID
- methodToken
Type: System.Int32%
Method token.
.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.