IVsActivityLog.LogEntryGuid Method
Makes a log entry specifying entry type, package name, event text, and GUID to store in the event record.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Déclaration
Function LogEntryGuid ( _
actType As UInteger, _
pszSource As String, _
pszDescription As String, _
guid As Guid _
) As Integer
'Utilisation
Dim instance As IVsActivityLog
Dim actType As UInteger
Dim pszSource As String
Dim pszDescription As String
Dim guid As Guid
Dim returnValue As Integer
returnValue = instance.LogEntryGuid(actType, _
pszSource, pszDescription, guid)
int LogEntryGuid(
uint actType,
string pszSource,
string pszDescription,
Guid guid
)
int LogEntryGuid(
[InAttribute] unsigned int actType,
[InAttribute] String^ pszSource,
[InAttribute] String^ pszDescription,
[InAttribute] Guid guid
)
abstract LogEntryGuid :
actType:uint32 *
pszSource:string *
pszDescription:string *
guid:Guid -> int
function LogEntryGuid(
actType : uint,
pszSource : String,
pszDescription : String,
guid : Guid
) : int
Parameters
- actType
Type: System.UInt32
[in] Type of log entry, a value from the __ACTIVITYLOG_ENTRYTYPE enumeration.
- pszSource
Type: System.String
[in] Pointer to a string containing the name of the package or component making the call.
- pszDescription
Type: System.String
[in] Pointer to a string describing the event.
- guid
Type: System.Guid
[in] A GUID to include in the event record.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsActivityLog::LogEntryGuid(
[in] ACTIVITYLOG_ENTRYTYPE actType,
[in] LPCOLESTR pszSource,
in] LPCOLESTR pszDescription,
[in] GUID 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.