DeleteAttribute クラス
DomainService メソッドが削除メソッドであることを示します。
名前空間: System.ServiceModel.DomainServices.Server
アセンブリ: System.ServiceModel.DomainServices.Server (system.servicemodel.domainservices.server.dll 内)
使用方法
'使用
Dim instance As DeleteAttribute
構文
'宣言
<AttributeUsageAttribute(AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field, AllowMultiple:=False, Inherited:=True)> _
Public NotInheritable Class DeleteAttribute
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple=false, Inherited=true)]
public sealed class DeleteAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field, AllowMultiple=false, Inherited=true)]
public ref class DeleteAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple=false, Inherited=true) */
public final class DeleteAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple=false, Inherited=true)
public final class DeleteAttribute extends Attribute
解説
DeleteAttribute 属性をメソッドに適用してメソッドが削除メソッドであることを示します。使用しているメソッドが削除メソッドの想定メソッド シグネチャと一致する場合、DeleteAttribute を適用する必要はありません。RIA サービス フレームワークは、予想される削除署名のメソッドを削除操作として処理することを推論します。IgnoreAttribute をメソッドに適用して、RIA サービス フレームワークがそのメソッドのドメイン操作を生成しないようにします。
削除メソッドに予想されるシグネチャを以下に示します。
戻り値 |
なし |
パラメーター |
エンティティ |
名前のプレフィックス |
削除またはクリア |
属性 |
または
|
例 |
または
|
継承階層
System.Object
System.Attribute
System.ServiceModel.DomainServices.Server.DeleteAttribute
スレッド セーフ
この型の public static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000
ターゲット プラットフォーム
参照
リファレンス
DeleteAttribute のメンバー
System.ServiceModel.DomainServices.Server 名前空間