Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Makes a log entry specifying entry type, package name, event text, a GUID to store in the event record, and an HRESULT 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
'Declaration
Function LogEntryGuidHr ( _
actType As UInteger, _
pszSource As String, _
pszDescription As String, _
guid As Guid, _
hr As Integer _
) As Integer
int LogEntryGuidHr(
uint actType,
string pszSource,
string pszDescription,
Guid guid,
int hr
)
int LogEntryGuidHr(
[InAttribute] unsigned int actType,
[InAttribute] String^ pszSource,
[InAttribute] String^ pszDescription,
[InAttribute] Guid guid,
[InAttribute] int hr
)
abstract LogEntryGuidHr :
actType:uint32 *
pszSource:string *
pszDescription:string *
guid:Guid *
hr:int -> int
function LogEntryGuidHr(
actType : uint,
pszSource : String,
pszDescription : String,
guid : Guid,
hr : int
) : int
Parameters
actType
Type: UInt32[in] Type of log entry, a value from the __ACTIVITYLOG_ENTRYTYPE enumeration.
pszSource
Type: String[in] Pointer to a string containing the name of the package or component making the call.
pszDescription
Type: String[in] Pointer to a string describing the event.
guid
Type: Guid[in] A GUID to include in the event record.
hr
Type: Int32[in] An HRESULT to include in the event record.
Return Value
Type: 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::LogEntryGuidHr(
[in] ACTIVITYLOG_ENTRYTYPE actType,
[in] LPCOLESTR pszSource,
[in] LPCOLESTR pszDescription,
[in] GUID guid,
[in] HRESULT hr
);
.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.