VsShellUtilities.LogMessage(String, String, __ACTIVITYLOG_ENTRYTYPE) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
记录消息。
public:
static void LogMessage(System::String ^ source, System::String ^ message, Microsoft::VisualStudio::Shell::Interop::__ACTIVITYLOG_ENTRYTYPE entryType);
public:
static void LogMessage(Platform::String ^ source, Platform::String ^ message, Microsoft::VisualStudio::Shell::Interop::__ACTIVITYLOG_ENTRYTYPE entryType);
static void LogMessage(std::wstring const & source, std::wstring const & message, Microsoft::VisualStudio::Shell::Interop::__ACTIVITYLOG_ENTRYTYPE entryType);
public static void LogMessage (string source, string message, Microsoft.VisualStudio.Shell.Interop.__ACTIVITYLOG_ENTRYTYPE entryType);
static member LogMessage : string * string * Microsoft.VisualStudio.Shell.Interop.__ACTIVITYLOG_ENTRYTYPE -> unit
Public Shared Sub LogMessage (source As String, message As String, entryType As __ACTIVITYLOG_ENTRYTYPE)
Public Sub LogMessage (source As String, message As String, entryType As __ACTIVITYLOG_ENTRYTYPE)
参数
- source
- String
源。
- message
- String
消息。
- entryType
- __ACTIVITYLOG_ENTRYTYPE
项类型。