InstanceOwnerException Constructor (XName, Guid)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command and the ID of the instance owner.

Namespace:  System.Runtime.Persistence
Assembly:  System.Runtime (in System.Runtime.dll)

Syntax

'Declaration
Public Sub New ( _
    commandName As XName, _
    instanceOwnerId As Guid _
)
'Usage
Dim commandName As XName
Dim instanceOwnerId As Guid

Dim instance As New InstanceOwnerException(commandName, _
    instanceOwnerId)
public InstanceOwnerException(
    XName commandName,
    Guid instanceOwnerId
)
public:
InstanceOwnerException(
    XName^ commandName, 
    Guid instanceOwnerId
)
new : 
        commandName:XName * 
        instanceOwnerId:Guid -> InstanceOwnerException

Parameters

  • commandName
    Type: System.Xml.Linq.XName
    The XName (the combination of namespace and name) of the command.
  • instanceOwnerId
    Type: System.Guid
    The ID of the instance owner.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

See Also

Reference

InstanceOwnerException Class

InstanceOwnerException Members

InstanceOwnerException Overload

System.Runtime.Persistence Namespace