DurableOperationAttribute クラス

定義

注意事項

The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*

永続的なサービス メソッドのローカル実行動作を指定します。

public ref class DurableOperationAttribute sealed : Attribute, System::ServiceModel::Description::IOperationBehavior
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class DurableOperationAttribute : Attribute, System.ServiceModel.Description.IOperationBehavior
[System.AttributeUsage(System.AttributeTargets.Method)]
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public sealed class DurableOperationAttribute : Attribute, System.ServiceModel.Description.IOperationBehavior
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type DurableOperationAttribute = class
    inherit Attribute
    interface IOperationBehavior
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type DurableOperationAttribute = class
    inherit Attribute
    interface IOperationBehavior
Public NotInheritable Class DurableOperationAttribute
Inherits Attribute
Implements IOperationBehavior
継承
DurableOperationAttribute
属性
実装

注釈

永続的なサービス状態情報は、操作が正常に呼び出されたときに保持されます。 ワークフロー サービスと同様に、操作の実行中に状態情報を保持することはできません。

コンストラクター

名前 説明
DurableOperationAttribute()
古い.

DurableOperationAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
CanCreateInstance
古い.

この操作でアクティブ化メッセージを受信した場合に新しいサービス インスタンスを作成できるかどうかを示す値を取得または設定します。 ディスパッチャーは、インスタンス ID がアタッチされていないメッセージをアクティブ化メッセージと見なします。

CompletesInstance
古い.

操作の実行が完了したら、サービス インスタンスがメモリからアンロードされ、永続化から削除されるかどうかを示す値を取得または設定します。

TypeId
古い.

派生クラスで実装されている場合は、この Attributeの一意の識別子を取得します。

(継承元 Attribute)

メソッド

名前 説明
AddBindingParameters(OperationDescription, BindingParameterCollection)
古い.

DurableOperationAttributeでは実装されていません。

ApplyClientBehavior(OperationDescription, ClientOperation)
古い.

DurableOperationAttributeでは実装されていません。

ApplyDispatchBehavior(OperationDescription, DispatchOperation)
古い.

操作のサービス側の動作を実装します。

Equals(Object)
古い.

このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()
古い.

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()
古い.

派生クラスでオーバーライドされた場合、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)
古い.

派生クラスでオーバーライドされた場合、このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()
古い.

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
Validate(OperationDescription)
古い.

DurableOperationAttributeでは実装されていません。

明示的なインターフェイスの実装

名前 説明
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
古い.

一連の名前を対応する一連のディスパッチ識別子に割り当てます。

(継承元 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
古い.

インターフェイスの型情報を取得するために使用できるオブジェクトの型情報を取得します。

(継承元 Attribute)
_Attribute.GetTypeInfoCount(UInt32)
古い.

オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。

(継承元 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
古い.

オブジェクトによって公開されるプロパティとメソッドへのアクセスを提供します。

(継承元 Attribute)

適用対象