CoreDomainModel Constructor
Initializes a new instance of the CoreDomainModel class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
store As Store _
)
public CoreDomainModel(
Store store
)
public:
CoreDomainModel(
Store^ store
)
new :
store:Store -> CoreDomainModel
public function CoreDomainModel(
store : Store
)
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe store that contains the domain model.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The store is nulla null reference (Nothing in Visual Basic). |
InvalidOperationException | An instance of this domain model already is in the store. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.