SendActivity.AfterResponse Event
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.