次の方法で共有


EntityDesignerChangeScope.Dispose メソッド

Releases all resources used by the current instance of the EntityDesignerChangeScope class.

名前空間: Microsoft.Data.Entity.Design.Extensibility
アセンブリ: Microsoft.Data.Entity.Design.Extensibility (microsoft.data.entity.design.extensibility.dll 内)

使用方法

構文

'宣言
Public MustOverride Sub Dispose
public abstract void Dispose ()
public:
virtual void Dispose () abstract
public abstract void Dispose ()
public abstract function Dispose ()

解説

In a Visual Studio property extension, the Dispose method should be called when you have finished all actions within an EntityDesignerChangeScope. If you call the Dispose method before calling the Complete method, any changes that were made in the EntityDesignerChangeScope will be discarded.

For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000

ターゲット プラットフォーム

参照

リファレンス

EntityDesignerChangeScope クラス
EntityDesignerChangeScope のメンバー
Microsoft.Data.Entity.Design.Extensibility 名前空間

その他のリソース

Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions