編輯

共用方式為


SendActivity Constructors

Definition

Initializes a new instance of the SendActivity class.

Overloads

SendActivity()

Initializes a new instance of the SendActivity class.

SendActivity(String)

Initializes a new instance of the SendActivity class with the specified name property.

Remarks

The SendActivity constructor is typically invoked in the code-beside file created by the workflow designer.

SendActivity()

Initializes a new instance of the SendActivity class.

public:
 SendActivity();
public SendActivity ();
Public Sub New ()

Examples

The following example shows how to create a new instance of the SendActivity class. This example was adapted from the Conversations SDK sample.

SendActivity RequestQuoteFromShipper3;
RequestQuoteFromShipper3 = new System.Workflow.Activities.SendActivity();

Remarks

The SendActivity constructor is typically invoked in the code-beside file created by the workflow designer.

Applies to

SendActivity(String)

Initializes a new instance of the SendActivity class with the specified name property.

public:
 SendActivity(System::String ^ name);
public SendActivity (string name);
new System.Workflow.Activities.SendActivity : string -> System.Workflow.Activities.SendActivity
Public Sub New (name As String)

Parameters

name
String

The value assigned to Name when the activity is initialized.

Examples

The following example shows how to create a new instance of the SendActivity class.

SendActivity RequestQuoteFromShipper3;
RequestQuoteFromShipper3 = new System.Workflow.Activities.SendActivity("RequestQuoteFromShipper3");

Remarks

The SendActivity constructor is typically invoked in the code-beside file created by the workflow designer.

Applies to