ActivityLog.LogError Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
‘선언
Public Shared Sub LogError ( _
source As String, _
message As String _
)
‘사용 방법
Dim source As String
Dim message As String
ActivityLog.LogError(source, message)
public static void LogError(
string source,
string message
)
public:
static void LogError(
String^ source,
String^ message
)
static member LogError :
source:string *
message:string -> unit
public static function LogError(
source : String,
message : String
)
Parameters
- source
Type: System.String
- message
Type: System.String
.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.