Share via


Activity.HasContent Method

Definition

Indicates whether this activity has content.

public bool HasContent ();
abstract member HasContent : unit -> bool
override this.HasContent : unit -> bool
Public Function HasContent () As Boolean

Returns

True, if this activity has any content to send; otherwise, false.

Implements

Remarks

This method is defined on the Activity class, but is only intended for use with a message activity, where the activity Type is set to Message.

Applies to