ExternalDataExchangeService::AddService Method (Object^)
.NET Framework (current version)
Adds the specified service to the ExternalDataExchangeService.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
Parameters
- service
-
Type:
System::Object^
An object that represents the service to add.
| Exception | Condition |
|---|---|
| ArgumentNullException | service is a null reference (Nothing in Visual Basic). |
| InvalidOperationException | The external run-time container was not found. |
The following example shows how to add a service to an ExternalDataExchangeService object. This example is from the Ordering State Machine SDK sample. For more information, seeOrdering State Machine Sample.
.NET Framework
Available since 3.0
Available since 3.0
Show: