共用方式為


ComSoapPublishError.Report(String) 方法

定義

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

適用於