CreateException<T, TResult> クラス

 

例外を作成するアクティビティ。

名前空間:   Microsoft.Activities
アセンブリ:  Microsoft.Activities (Microsoft.Activities.dll 内)

継承階層

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<TResult>
        System.Activities.CodeActivity<TResult>
          Microsoft.Activities.CreateException<T, TResult>

構文

public sealed class CreateException<T, TResult> : CodeActivity<TResult>
where T : TResult
where TResult : Exception
generic<typename T, typename TResult>
where T : TResult
where TResult : Exception
public ref class CreateException sealed : CodeActivity<TResult>
[<Sealed>]
type CreateException<'T, 'TResult when 'T : 'TResult when 'TResult : Exception> = 
    class
        inherit CodeActivity<'TResult>
    end
Public NotInheritable Class CreateException(Of T As TResult, TResult As Exception)
    Inherits CodeActivity(Of TResult)

型パラメーター

  • T
    作成された例外の種類。
  • TResult
    返された例外の種類。

コンストラクター

名前 説明
System_CAPS_pubmethod CreateException<T, TResult>()

CreateException<T, TResult> クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
System_CAPS_protproperty CacheId

(Activity から継承されました。)

System_CAPS_pubproperty DisplayName

(Activity から継承されました。)

System_CAPS_pubproperty Id

(Activity から継承されました。)

System_CAPS_protproperty ImplementationVersion

(CodeActivity<TResult> から継承されました。)

System_CAPS_pubproperty InnerException

内部例外を取得または設定します。

System_CAPS_pubproperty Message

例外メッセージを取得または設定します。

System_CAPS_pubproperty Result

(Activity<TResult> から継承されました。)

System_CAPS_pubproperty ResultType

(ActivityWithResult から継承されました。)

メソッド

名前 説明
System_CAPS_pubmethod Equals(Object)

(Object から継承されました。)

System_CAPS_pubmethod GetHashCode()

(Object から継承されました。)

System_CAPS_pubmethod GetType()

(Object から継承されました。)

System_CAPS_pubmethod ToString()

(Activity から継承されました。)

スレッド セーフ

すべてのパブリック構造体 (Shared Visual Basic では) メンバーは、スレッド セーフです。 Aインスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

Microsoft.Activities 名前空間

トップに戻る