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 Framework 使用。 您不需要直接在程式代碼中使用 方法。