Edit

Share via


ActivityTrackingCondition.Member Property

Definition

Gets or sets the name of the activity member that is to be compared with Value.

public:
 virtual property System::String ^ Member { System::String ^ get(); void set(System::String ^ value); };
public override string Member { get; set; }
member this.Member : string with get, set
Public Overrides Property Member As String

Property Value

The dot delineated name of the activity member.

Exceptions

The condition was evaluated and Member is a null reference (Nothing in Visual Basic).

The condition was evaluated and Member is incorrectly formed.

The condition was evaluated and Member does not refer to a valid activity member.

Remarks

You can specify an activity property or field, a member of an activity property or field, or a single element of an activity property or field (or a member of either) that implements the IEnumerable<T> interface. For example, you can specify a single element of a collection.

If you use the parameterless constructor for ActivityTrackingCondition, you must explicitly set Member.

The value of the specified activity member is compared with Value by applying Operator.

Applies to