ManagedWrapper.Log 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
記錄包裝紙。
public:
virtual void Log(System::String ^ logEntryName, System::String ^ computerName, System::String ^ operatorName, System::String ^ sourceName, System::String ^ sourceID, System::String ^ executionID, System::String ^ messageText, DateTime startTime, DateTime endTime, int dataCode, cli::array <System::Byte> ^ % dataBytes);
public void Log(string logEntryName, string computerName, string operatorName, string sourceName, string sourceID, string executionID, string messageText, DateTime startTime, DateTime endTime, int dataCode, ref byte[] dataBytes);
abstract member Log : string * string * string * string * string * string * string * DateTime * DateTime * int * Byte[] -> unit
override this.Log : string * string * string * string * string * string * string * DateTime * DateTime * int * Byte[] -> unit
Public Sub Log (logEntryName As String, computerName As String, operatorName As String, sourceName As String, sourceID As String, executionID As String, messageText As String, startTime As DateTime, endTime As DateTime, dataCode As Integer, ByRef dataBytes As Byte())
參數
- logEntryName
- String
日誌條目名稱。
- computerName
- String
電腦名稱。
- operatorName
- String
運算子的名稱。
- sourceName
- String
來源名稱。
- sourceID
- String
來源識別碼。
- executionID
- String
執行識別碼。
- messageText
- String
訊息文字。
- startTime
- DateTime
開始時間。
- endTime
- DateTime
結束時間。
- dataCode
- Int32
資料代碼。
- dataBytes
- Byte[]
資料位元組。