Editare

Partajați prin


ExternalDataExchangeService Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Represents a service that must be added to the workflow run-time engine for local services communications to be enabled. Local service implementations are required to be added to the ExternalDataExchangeService for these services to be properly initialized and registered.

public ref class ExternalDataExchangeService : System::Workflow::Runtime::Hosting::WorkflowRuntimeService
public class ExternalDataExchangeService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ExternalDataExchangeService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
type ExternalDataExchangeService = class
    inherit WorkflowRuntimeService
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ExternalDataExchangeService = class
    inherit WorkflowRuntimeService
Public Class ExternalDataExchangeService
Inherits WorkflowRuntimeService
Inheritance
ExternalDataExchangeService
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

A local service implementation is a class that implements an interface that is marked with ExternalDataExchangeAttribute. Local services added in this way are used by CallExternalMethodActivity and HandleExternalEventActivity.

Constructors

ExternalDataExchangeService()

Initializes a new instance of the ExternalDataExchangeService class.

ExternalDataExchangeService(ExternalDataExchangeServiceSection)

Initializes a new instance of the ExternalDataExchangeService class.

ExternalDataExchangeService(NameValueCollection)

Initializes a new instance of the ExternalDataExchangeService class.

ExternalDataExchangeService(String)

Initializes a new instance of the ExternalDataExchangeService class.

Properties

Runtime

Gets the WorkflowRuntime for this service.

(Inherited from WorkflowRuntimeService)
State

Gets the state of the WorkflowRuntimeService.

(Inherited from WorkflowRuntimeService)

Methods

AddService(Object)

Adds the specified service to the ExternalDataExchangeService.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetService(Type)

Gets the service implementation of the specified interface type, if the service is available.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnStarted()

When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Started event.

(Inherited from WorkflowRuntimeService)
OnStopped()

When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Stopped event.

(Inherited from WorkflowRuntimeService)
RaiseServicesExceptionNotHandledEvent(Exception, Guid)

Raises the ServicesExceptionNotHandled event.

(Inherited from WorkflowRuntimeService)
RemoveService(Object)

Removes the specified service from the ExternalDataExchangeService.

Start()

Adds local services if a configuration section was specified during construction of the object.

Stop()

When overridden in a derived class, stops the service and changes the State to Stopping.

(Inherited from WorkflowRuntimeService)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to