ExternalDataExchangeService::AddService Method (Object^)

 

Adds the specified service to the ExternalDataExchangeService.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public:
virtual void AddService(
	Object^ service
)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: