Redigera

Dela via


System.ServiceModel.Activities Namespace

Contains classes that allow you to send messages to and receive messages from workflows. These activities are used when writing workflow services and allow you to define how messages are sent and received in a workflow.

Classes

CallbackCorrelationInitializer

Initializes the associated CorrelationHandle with a callback correlation.

ChannelCacheSettings

Represents settings that define operational characteristics of a channel cache.

ContextCorrelationInitializer

Initializes the associated CorrelationHandle with a .NET Context Exchange-based correlation, subject to the ContextExchangeMechanism specified.

CorrelationHandle

Associates activities together in a correlation by representing a particular shared InstanceKey or transient context in the workflow.

CorrelationInitializer

An abstract base class for correlation initializers that are used to tell the runtime what protocol is being used for the correlation.

CorrelationScope

Provides implicit CorrelationHandle management for child messaging activities.

DurableInstancingOptions

Used mainly to associate a concrete implementation of the InstanceStore such as SqlWorkflowInstanceStore with a workflow service host. This class is also used to add instance owner metadata.

HostSettings

Represents settings that define operational characteristics of a host.

InitializeCorrelation

Initializes correlation without sending or receiving a message.

MessageContext

Represents a message context.

QueryCorrelationInitializer

Initializes the associated CorrelationHandle based on the results of the MessageQuerySet when the message is sent or received.

Receive

An activity that receives a message.

ReceiveContent

An abstract base class for classes that represent the data received by a workflow service.

ReceiveMessageContent

A class used to receive a Message or a message contract type within a workflow service.

ReceiveParametersContent

Enables a workflow service to receive data in the form of parameters .ReceiveParametersContent is interoperable with non-workflow WCF clients and services. The Parameters collection is similar to the argument declaration on a C# method signature. The Parameters collection cannot contain arguments marked with MessageContractAttribute, or of type Message. Use ReceiveMessageContent for these types of data. This is a sealed class.

ReceiveReply

An activity that receives a message as part of a request/reply message exchange pattern.

ReceiveSettings

Represents the settings for an activity that receives a message.

RequestReplyCorrelationInitializer

Initializes the associated CorrelationHandle based on the RequestContext that is created for the two-way operation.

Send

An activity that sends a message to a service.

SendContent

An abstract base class for classes that represent the data sent to a workflow service.

SendMessageChannelCache

Represents an extension that enables the customization of the cache sharing levels, the settings of the channel factory cache, and the settings of the channel cache for workflows that send messages to service endpoints using Send messaging activities.

SendMessageContent

A class used to send a single item (message) to or from a workflow service. The item can be a built-in type such as primitive types, Message, or XElement; or an application-defined data contract, message contract, or XML serializable type.

SendParametersContent

Enables sending data to or from a workflow service in the form of parameters.

SendReceiveExtension

An abstract class that defines extension methods for the send/receive activities.

SendReply

An activity that sends the reply message as part of a request/response message exchange pattern on the service side.

SendSettings

Represents the settings for an activity that sends a message.

TransactedReceiveScope

An activity which scopes the lifetime of a transaction which is initiated by a received message. The transaction may be flowed into the workflow on the initiating message, or be created by the dispatcher when the message is received.

WorkflowControlClient

Allows a client to send control operations to a workflow service hosted with WorkflowServiceHost.

WorkflowControlEndpoint

A standard endpoint that enables you to call control operations on workflow instances.

WorkflowCreationContext

Represents a context that is set up during workflow activation using the workflow hosting endpoint to handle arguments, and receive workflow completion notifications.

WorkflowHostingEndpoint

An abstract implementation of ServiceEndpoint. Derive from this class to expose contracts that support workflow creation and bookmark resumption.

WorkflowHostingResponseContext

This class is used in conjunction with the WorkflowHostingEndpoint class. It is used for sending the response for a request/reply contract supported by a WorkflowHostingEndpoint implementation.

WorkflowService

Enables you to create, configure, and access the properties of a workflow service.

WorkflowServiceHost

Provides a host for workflows. Supports features like messaging activities, multi-instancing, and configuration.

WorkflowUpdateableControlClient

Represents a service contract that defines a set of operations that allows a client to update workflow service hosted with WorkflowServiceHost.

Interfaces

IReceiveMessageCallback

Implements a callback to be executed when a service message is received by the Receive and ReceiveParametersContent activities.

ISendMessageCallback

An interface that implements a callback that is called just before a message is sent on the wire by the Send or SendParametersContent activities.

IWorkflowInstanceManagement

Represents a service contract that defines a set of operations that allow you to control workflow instances.

IWorkflowUpdateableInstanceManagement

Represents a service contract that defines a set of operations that allow you to update workflow instances.

Enums

SerializerOption

A class that represents the types of serializers available.