語言

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 框架內部使用。 你不需要直接在程式碼中使用這個方法。

適用於