InstancePersistenceCommandException.InstanceId Property

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

Gets the ID of the instance against which the command was executed.

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

Syntax

'Declaration
Public Property InstanceId As Guid
    Get
    Private Set
'Usage
Dim instance As InstancePersistenceCommandException
Dim value As Guid

value = instance.InstanceId
public Guid InstanceId { get; private set; }
public:
property Guid InstanceId {
    Guid get ();
    private: void set (Guid value);
}
member InstanceId : Guid with get, private set

Property Value

Type: System.Guid
The ID of the instance.

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

InstancePersistenceCommandException Class

InstancePersistenceCommandException Members

System.Runtime.Persistence Namespace