Share via


EntityId Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the string representing the Id or name of the entity that has caused the exception.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property EntityId As String
'Usage
Dim instance As EntityStateException
Dim value As String

value = instance.EntityId

instance.EntityId = value
public string EntityId { get; set; }
public:
property String^ EntityId {
    String^ get ();
    void set (String^ value);
}
public function get EntityId () : String
public function set EntityId (value : String)

Property Value

Type: System..::.String
The Id or Name of the entity that caused the exception. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if there is none.

Remarks

Contains the Id or Name of the entity that caused the exception. If there is no Id or name, nullNothingnullptra null reference (Nothing in Visual Basic) is returned.

Permissions

See Also

Reference

EntityStateException Class

EntityStateException Members

Microsoft.CommerceServer.Marketing Namespace