Share via


CurrentState Property

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

Gets or sets the current state of the entity at the time of the exception.

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

Syntax

'Declaration
Public Property CurrentState As CurrentEntityState
'Usage
Dim instance As EntityStateException
Dim value As CurrentEntityState

value = instance.CurrentState

instance.CurrentState = value
public CurrentEntityState CurrentState { get; set; }
public:
property CurrentEntityState CurrentState {
    CurrentEntityState get ();
    void set (CurrentEntityState value);
}
public function get CurrentState () : CurrentEntityState
public function set CurrentState (value : CurrentEntityState)

Property Value

Type: Microsoft.CommerceServer.Marketing..::.CurrentEntityState
The CurrentEntityState enumeration value of the entity at the time of the exception.

Remarks

The CurrentState is one of the following enumeration values:

  • Active - Entity is active.

  • Deleted - Entity is deleted.

  • ExpressionList -Entity is an expression based mailing list.

  • Global - Entity is a global expression.

  • HouseAd - Entity is a House Ad.

  • Inactive - Entity is not active.

  • ListOperationFinished - Entity is a list operation object which is not in in-progress state.

  • Local - Entity is a local expression.

  • Locked - Mailing list is locked (in use).

  • NoDestinationList - DirectMail without a Destination List.

  • NotDeleted - Entity is not deleted.

  • PaidAd - Entity is a Paid Ad.

  • SimpleList - Entity is a simple mailing list.

Permissions

See Also

Reference

EntityStateException Class

EntityStateException Members

Microsoft.CommerceServer.Marketing Namespace