ExceptionClassAttribute(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
{
}