Activity.HasContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.