Partager via


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

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

See Also

Reference

CoreDomainModel Class

Microsoft.VisualStudio.Modeling Namespace