語言

ExceptionClassAttribute(String) 建構函式

定義

初始化 ExceptionClassAttribute 類別的新執行個體。

public:
 ExceptionClassAttribute(System::String ^ name);
public ExceptionClassAttribute(string name);
new System.EnterpriseServices.ExceptionClassAttribute : string -> System.EnterpriseServices.ExceptionClassAttribute
Public Sub New (name As String)

參數

name
String

玩家啟動並播放訊息前的例外類別名稱會被導向死字母佇列。

範例

以下程式碼範例會建立一個新的 ExceptionClassAttribute。

[ExceptionClass("ExceptionHandler")]
public class ExceptionClassAttribute_Ctor_String : ServicedComponent
{
}

適用於