語言

VsaEngine.RegisterEventSource(String) 方法

定義

指定標記為事件來源的項目名稱,使 ConnectEvents() 方法能判斷要連接哪些事件。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual void RegisterEventSource(System::String ^ name);
public void RegisterEventSource(string name);
abstract member RegisterEventSource : string -> unit
override this.RegisterEventSource : string -> unit
Public Sub RegisterEventSource (name As String)

參數

name
String

新增的項目名稱,提供事件。

實作

適用於