แก้ไข

แชร์ผ่าน


SendActivity.AfterResponse Event

Definition

Occurs after the response has been received from the service.

public:
 event EventHandler<System::Workflow::Activities::SendActivityEventArgs ^> ^ AfterResponse;
[System.ComponentModel.Browsable(true)]
public event EventHandler<System.Workflow.Activities.SendActivityEventArgs> AfterResponse;
[<System.ComponentModel.Browsable(true)>]
member this.AfterResponse : EventHandler<System.Workflow.Activities.SendActivityEventArgs> 
Public Custom Event AfterResponse As EventHandler(Of SendActivityEventArgs) 

Event Type

Attributes

Examples

The following example shows how to use the AfterResponse event.

[System.Diagnostics.DebuggerNonUserCode]
private void InitializeComponent()
{
    SendActivity sendActivity1 = new SendActivity();
    sendActivity1.AfterResponse += new EventHandler<SendActivityEventArgs>(sendActivity1_AfterResponse);
}

void sendActivity1_AfterResponse(object sender, SendActivityEventArgs e)
{
    Console.WriteLine("SendActivity1 AfterResponse event fired.");
}

Remarks

This event handler associated with this event can be used to read the return value from the service operation invoked.

Applies to