ComSoapPublishError.Report(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 COM+ 應用程式中發布啟用 SOAP 的 COM 介面時遇到的錯誤,寫入事件日誌。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static void Report(System::String ^ s);
public static void Report(string s);
static member Report : string -> unit
Public Shared Sub Report (s As String)
參數
- s
- String
一個錯誤訊息要寫入事件日誌。
備註
Report 方法由 .NET 框架內部使用。 你不需要直接在程式碼中使用這個方法。