Compartilhar via


EntitySource Constructor (Guid, Guid, SourceType, String, Nullable)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the EntitySource class by using the specified id, typeId, type, context, lifetimeEntityId parameters.

Namespace: Microsoft.EnterpriseManagement.EntityStore
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim id As Guid
Dim typeId As Guid
Dim type As SourceType
Dim context As String
Dim lifetimeEntityId As Nullable(Of Guid)

Dim instance As New EntitySource(id, typeId, type, context, lifetimeEntityId)

Syntax

'Declaration
Public Sub New ( _
    id As Guid, _
    typeId As Guid, _
    type As SourceType, _
    context As String, _
    lifetimeEntityId As Nullable(Of Guid) _
)
public EntitySource (
    Guid id,
    Guid typeId,
    SourceType type,
    string context,
    Nullable<Guid> lifetimeEntityId
)
public:
EntitySource (
    Guid id, 
    Guid typeId, 
    SourceType type, 
    String^ context, 
    Nullable<Guid> lifetimeEntityId
)
public EntitySource (
    Guid id, 
    Guid typeId, 
    SourceType type, 
    String context, 
    Nullable<Guid> lifetimeEntityId
)
public function EntitySource (
    id : Guid, 
    typeId : Guid, 
    type : SourceType, 
    context : String, 
    lifetimeEntityId : Nullable<Guid>
)

Parameters

  • id
    The GUID of the entity source.
  • typeId
    The GUID of the entity source type.
  • type
    The type of an entity source.
  • context
    The contextual information of the entity source.
  • lifetimeEntityId
    The entity identifier which defines the lifetime of the source.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

See Also

Reference

EntitySource Class
EntitySource Members
Microsoft.EnterpriseManagement.EntityStore Namespace