WorkflowControlClient WorkflowControlClient WorkflowControlClient WorkflowControlClient Class

Definition

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

public ref class WorkflowControlClient : System::ServiceModel::ClientBase<System::ServiceModel::Activities::IWorkflowInstanceManagement ^>
public class WorkflowControlClient : System.ServiceModel.ClientBase<System.ServiceModel.Activities.IWorkflowInstanceManagement>
type WorkflowControlClient = class
    inherit ClientBase<IWorkflowInstanceManagement>
Public Class WorkflowControlClient
Inherits ClientBase(Of IWorkflowInstanceManagement)
Inheritance
WorkflowControlClientWorkflowControlClientWorkflowControlClientWorkflowControlClient

Remarks

Use this class to control a workflow instance.

Constructors

WorkflowControlClient() WorkflowControlClient() WorkflowControlClient() WorkflowControlClient()

Initializes a new instance of the WorkflowControlClient class.

WorkflowControlClient(Binding, EndpointAddress) WorkflowControlClient(Binding, EndpointAddress) WorkflowControlClient(Binding, EndpointAddress) WorkflowControlClient(Binding, EndpointAddress)

Initializes a new instance of the WorkflowControlClient class with the specified binding, and WorkflowControlEndpoint.

WorkflowControlClient(String) WorkflowControlClient(String) WorkflowControlClient(String) WorkflowControlClient(String)

Initializes a new instance of the WorkflowControlClient class with the specified endpoint configuration.

WorkflowControlClient(String, EndpointAddress) WorkflowControlClient(String, EndpointAddress) WorkflowControlClient(String, EndpointAddress) WorkflowControlClient(String, EndpointAddress)

Initializes a new instance of the WorkflowControlClient class with the specified endpoint configuration and EndpointAddress.

WorkflowControlClient(String, String) WorkflowControlClient(String, String) WorkflowControlClient(String, String) WorkflowControlClient(String, String)

Initializes a new instance of the WorkflowControlClient class with the specified endpoint configuration and endpoint address.

WorkflowControlClient(WorkflowControlEndpoint) WorkflowControlClient(WorkflowControlEndpoint) WorkflowControlClient(WorkflowControlEndpoint) WorkflowControlClient(WorkflowControlEndpoint)

Initializes a new instance of the WorkflowControlClient class with the specified WorkflowControlEndpoint.

Methods

Abandon(Guid) Abandon(Guid) Abandon(Guid) Abandon(Guid)

Abandons the specified workflow instance.

Abandon(Guid, String) Abandon(Guid, String) Abandon(Guid, String) Abandon(Guid, String)

Abandons the specified workflow instance.

AbandonAsync(Guid) AbandonAsync(Guid) AbandonAsync(Guid) AbandonAsync(Guid)

Begins an asynchronous operation that abandons the specified workflow instance.

AbandonAsync(Guid, Object) AbandonAsync(Guid, Object) AbandonAsync(Guid, Object) AbandonAsync(Guid, Object)

Begins an asynchronous operation that abandons the specified workflow instance with the specified user-defined data.

AbandonAsync(Guid, String) AbandonAsync(Guid, String) AbandonAsync(Guid, String) AbandonAsync(Guid, String)

Begins an asynchronous operation that abandons the specified workflow instance with the specified reason.

AbandonAsync(Guid, String, Object) AbandonAsync(Guid, String, Object) AbandonAsync(Guid, String, Object) AbandonAsync(Guid, String, Object)

Begins an asynchronous operation that abandons the specified workflow instance with the specified reason and user-defined data.

Abort() Abort() Abort() Abort()

Causes the ClientBase<TChannel> object to transition immediately from its current state into the closed state.

(Inherited from ClientBase<TChannel>)
BeginAbandon(Guid, AsyncCallback, Object) BeginAbandon(Guid, AsyncCallback, Object) BeginAbandon(Guid, AsyncCallback, Object) BeginAbandon(Guid, AsyncCallback, Object)

Begins an asynchronous operation that abandons the specified workflow instance.

BeginAbandon(Guid, String, AsyncCallback, Object) BeginAbandon(Guid, String, AsyncCallback, Object) BeginAbandon(Guid, String, AsyncCallback, Object) BeginAbandon(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that abandons the specified workflow instance.

BeginCancel(Guid, AsyncCallback, Object) BeginCancel(Guid, AsyncCallback, Object) BeginCancel(Guid, AsyncCallback, Object) BeginCancel(Guid, AsyncCallback, Object)

Begins an asynchronous operation that cancels the specified workflow instance.

BeginRun(Guid, AsyncCallback, Object) BeginRun(Guid, AsyncCallback, Object) BeginRun(Guid, AsyncCallback, Object) BeginRun(Guid, AsyncCallback, Object)

Begins an asynchronous operation that runs the specified workflow instance.

BeginSuspend(Guid, AsyncCallback, Object) BeginSuspend(Guid, AsyncCallback, Object) BeginSuspend(Guid, AsyncCallback, Object) BeginSuspend(Guid, AsyncCallback, Object)

Begins an asynchronous operation that suspends the specified operation.

BeginSuspend(Guid, String, AsyncCallback, Object) BeginSuspend(Guid, String, AsyncCallback, Object) BeginSuspend(Guid, String, AsyncCallback, Object) BeginSuspend(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that suspends the specified operation.

BeginTerminate(Guid, AsyncCallback, Object) BeginTerminate(Guid, AsyncCallback, Object) BeginTerminate(Guid, AsyncCallback, Object) BeginTerminate(Guid, AsyncCallback, Object)

Begins an asynchronous operation that terminates a workflow instance.

BeginTerminate(Guid, String, AsyncCallback, Object) BeginTerminate(Guid, String, AsyncCallback, Object) BeginTerminate(Guid, String, AsyncCallback, Object) BeginTerminate(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that terminates a workflow instance.

BeginUnsuspend(Guid, AsyncCallback, Object) BeginUnsuspend(Guid, AsyncCallback, Object) BeginUnsuspend(Guid, AsyncCallback, Object) BeginUnsuspend(Guid, AsyncCallback, Object)

Begins an asynchronous operation that unsuspends a workflow instance.

Cancel(Guid) Cancel(Guid) Cancel(Guid) Cancel(Guid)

Cancels the specified workflow instance.

CancelAsync(Guid) CancelAsync(Guid) CancelAsync(Guid) CancelAsync(Guid)

Begins an asynchronous operation that cancels the specified workflow instance.

CancelAsync(Guid, Object) CancelAsync(Guid, Object) CancelAsync(Guid, Object) CancelAsync(Guid, Object)

Begins an asynchronous operation that cancels the specified workflow instance with the specified user-defined data.

Close() Close() Close() Close()

Causes the ClientBase<TChannel> object to transition from its current state into the closed state.

(Inherited from ClientBase<TChannel>)
CreateChannel() CreateChannel() CreateChannel() CreateChannel()

Returns a new channel to the service.

(Inherited from ClientBase<TChannel>)
DisplayInitializationUI() DisplayInitializationUI() DisplayInitializationUI() DisplayInitializationUI()

Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it.

(Inherited from ClientBase<TChannel>)
EndAbandon(IAsyncResult) EndAbandon(IAsyncResult) EndAbandon(IAsyncResult) EndAbandon(IAsyncResult)

Completes an asynchronous abandon operation.

EndCancel(IAsyncResult) EndCancel(IAsyncResult) EndCancel(IAsyncResult) EndCancel(IAsyncResult)

Completes an asynchronous cancel operation.

EndRun(IAsyncResult) EndRun(IAsyncResult) EndRun(IAsyncResult) EndRun(IAsyncResult)

Completes an asynchronous run operation.

EndSuspend(IAsyncResult) EndSuspend(IAsyncResult) EndSuspend(IAsyncResult) EndSuspend(IAsyncResult)

Completes an asynchronous suspend operation.

EndTerminate(IAsyncResult) EndTerminate(IAsyncResult) EndTerminate(IAsyncResult) EndTerminate(IAsyncResult)

Completes an asynchronous terminate operation.

EndUnsuspend(IAsyncResult) EndUnsuspend(IAsyncResult) EndUnsuspend(IAsyncResult) EndUnsuspend(IAsyncResult)

Completes an asynchronous unsuspend operation.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetDefaultValueForInitialization<T>() GetDefaultValueForInitialization<T>() GetDefaultValueForInitialization<T>() GetDefaultValueForInitialization<T>()

Replicates the behavior of the default keyword in C#.

(Inherited from ClientBase<TChannel>)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
InvokeAsync(ClientBase<TChannel>, Object[], ClientBase<TChannel>, SendOrPostCallback, Object) InvokeAsync(ClientBase<TChannel>, Object[], ClientBase<TChannel>, SendOrPostCallback, Object) InvokeAsync(ClientBase<TChannel>, Object[], ClientBase<TChannel>, SendOrPostCallback, Object) InvokeAsync(ClientBase<TChannel>, Object[], ClientBase<TChannel>, SendOrPostCallback, Object)

Provides support for implementing the event-based asynchronous pattern. For more information about this pattern, see Event-based Asynchronous Pattern Overview.

(Inherited from ClientBase<TChannel>)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Open() Open() Open() Open()

Causes the ClientBase<TChannel> object to transition from the created state into the opened state.

(Inherited from ClientBase<TChannel>)
Run(Guid) Run(Guid) Run(Guid) Run(Guid)

Runs the specified workflow instance.

RunAsync(Guid) RunAsync(Guid) RunAsync(Guid) RunAsync(Guid)

Begins an asynchronous operation that runs the specified workflow instance.

RunAsync(Guid, Object) RunAsync(Guid, Object) RunAsync(Guid, Object) RunAsync(Guid, Object)

Begins an asynchronous operation that runs the specified workflow instance with the user-defined state data.

Suspend(Guid) Suspend(Guid) Suspend(Guid) Suspend(Guid)

Suspends the specified workflow instance.

Suspend(Guid, String) Suspend(Guid, String) Suspend(Guid, String) Suspend(Guid, String)

Suspends the specified workflow instance.

SuspendAsync(Guid) SuspendAsync(Guid) SuspendAsync(Guid) SuspendAsync(Guid)

Begins an asynchronous suspend operation

SuspendAsync(Guid, Object) SuspendAsync(Guid, Object) SuspendAsync(Guid, Object) SuspendAsync(Guid, Object)

Begins an asynchronous suspend operation with the specified workflow instance ID and user-defined state data.

SuspendAsync(Guid, String) SuspendAsync(Guid, String) SuspendAsync(Guid, String) SuspendAsync(Guid, String)

Begins an asynchronous suspend operation with the specified workflow instance ID and reason.

SuspendAsync(Guid, String, Object) SuspendAsync(Guid, String, Object) SuspendAsync(Guid, String, Object) SuspendAsync(Guid, String, Object)

Begins an asynchronous suspend operation with the specified workflow instance ID, reason, and user-defined state data.

Terminate(Guid) Terminate(Guid) Terminate(Guid) Terminate(Guid)

Terminates the specified workflow instance.

Terminate(Guid, String) Terminate(Guid, String) Terminate(Guid, String) Terminate(Guid, String)

Terminates the specified workflow instance with the specified reason.

TerminateAsync(Guid) TerminateAsync(Guid) TerminateAsync(Guid) TerminateAsync(Guid)

Begins an asynchronous operation that terminates the specified workflow instance.

TerminateAsync(Guid, Object) TerminateAsync(Guid, Object) TerminateAsync(Guid, Object) TerminateAsync(Guid, Object)

Begins an asynchronous operation that terminates the specified workflow instance with the specified user-defined data.

TerminateAsync(Guid, String) TerminateAsync(Guid, String) TerminateAsync(Guid, String) TerminateAsync(Guid, String)

Begins an asynchronous operation that terminates the specified workflow instance with the specified reason.

TerminateAsync(Guid, String, Object) TerminateAsync(Guid, String, Object) TerminateAsync(Guid, String, Object) TerminateAsync(Guid, String, Object)

Begins an asynchronous operation that terminates the specified workflow instance with the specified reason and user-defined data.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unsuspend(Guid) Unsuspend(Guid) Unsuspend(Guid) Unsuspend(Guid)

Unsuspends the specified workflow instance.

UnsuspendAsync(Guid) UnsuspendAsync(Guid) UnsuspendAsync(Guid) UnsuspendAsync(Guid)

Begins an asynchronous unsuspend operation.

UnsuspendAsync(Guid, Object) UnsuspendAsync(Guid, Object) UnsuspendAsync(Guid, Object) UnsuspendAsync(Guid, Object)

Begins an asynchronous unsuspend operation with the specified user-defined state data.

Events

AbandonCompleted AbandonCompleted AbandonCompleted AbandonCompleted

Occurs when an asynchronous abandon operation completes.

CancelCompleted CancelCompleted CancelCompleted CancelCompleted

Occurs when an asynchronous cancel operation completes.

ICommunicationObject.Closed ICommunicationObject.Closed ICommunicationObject.Closed ICommunicationObject.Closed Inherited from ClientBase<TChannel>
ICommunicationObject.Closing ICommunicationObject.Closing ICommunicationObject.Closing ICommunicationObject.Closing Inherited from ClientBase<TChannel>
ICommunicationObject.Faulted ICommunicationObject.Faulted ICommunicationObject.Faulted ICommunicationObject.Faulted Inherited from ClientBase<TChannel>
ICommunicationObject.Opened ICommunicationObject.Opened ICommunicationObject.Opened ICommunicationObject.Opened Inherited from ClientBase<TChannel>
ICommunicationObject.Opening ICommunicationObject.Opening ICommunicationObject.Opening ICommunicationObject.Opening Inherited from ClientBase<TChannel>
RunCompleted RunCompleted RunCompleted RunCompleted

Occurs when an asynchronous run operation completes.

SuspendCompleted SuspendCompleted SuspendCompleted SuspendCompleted

Occurs when an asynchronous suspend operation completes.

TerminateCompleted TerminateCompleted TerminateCompleted TerminateCompleted

Occurs when an asynchronous terminate operation completes.

UnsuspendCompleted UnsuspendCompleted UnsuspendCompleted UnsuspendCompleted

Occurs when an asynchronous unsuspend operation completes.

Properties

Channel Channel Channel Channel

Gets the inner channel used to send messages to variously configured service endpoints.

(Inherited from ClientBase<TChannel>)
ChannelFactory ChannelFactory ChannelFactory ChannelFactory

Gets the underlying ChannelFactory<TChannel> object.

(Inherited from ClientBase<TChannel>)
ClientCredentials ClientCredentials ClientCredentials ClientCredentials

Gets the client credentials used to call an operation.

(Inherited from ClientBase<TChannel>)
Endpoint Endpoint Endpoint Endpoint

Gets the target endpoint for the service to which the WCF client can connect.

(Inherited from ClientBase<TChannel>)
InnerChannel InnerChannel InnerChannel InnerChannel

Gets the underlying IClientChannel implementation.

(Inherited from ClientBase<TChannel>)
State State State State

Gets the current state of the ClientBase<TChannel> object.

(Inherited from ClientBase<TChannel>)

Explicit Interface Implementations

ICommunicationObject.BeginClose(AsyncCallback, Object) ICommunicationObject.BeginClose(AsyncCallback, Object) ICommunicationObject.BeginClose(AsyncCallback, Object) ICommunicationObject.BeginClose(AsyncCallback, Object)

Begins an asynchronous operation to close the ClientBase<TChannel>.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close the ClientBase<TChannel> with a specified timeout.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.BeginOpen(AsyncCallback, Object) ICommunicationObject.BeginOpen(AsyncCallback, Object) ICommunicationObject.BeginOpen(AsyncCallback, Object) ICommunicationObject.BeginOpen(AsyncCallback, Object)

Begins an asynchronous operation to open the ClientBase<TChannel> object.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open the ClientBase<TChannel> object within a specified interval of time.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.Close() ICommunicationObject.Close() ICommunicationObject.Close() ICommunicationObject.Close() Inherited from ClientBase<TChannel>
ICommunicationObject.Close(TimeSpan) ICommunicationObject.Close(TimeSpan) ICommunicationObject.Close(TimeSpan) ICommunicationObject.Close(TimeSpan)

Causes the ClientBase<TChannel> object to transition from its current state into the closed state.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.EndClose(IAsyncResult) ICommunicationObject.EndClose(IAsyncResult) ICommunicationObject.EndClose(IAsyncResult) ICommunicationObject.EndClose(IAsyncResult)

Completes an asynchronous operation to close the ClientBase<TChannel> object.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.EndOpen(IAsyncResult) ICommunicationObject.EndOpen(IAsyncResult) ICommunicationObject.EndOpen(IAsyncResult) ICommunicationObject.EndOpen(IAsyncResult)

Completes an asynchronous operation to open the ClientBase<TChannel> object.

(Inherited from ClientBase<TChannel>)
ICommunicationObject.Open() ICommunicationObject.Open() ICommunicationObject.Open() ICommunicationObject.Open() Inherited from ClientBase<TChannel>
ICommunicationObject.Open(TimeSpan) ICommunicationObject.Open(TimeSpan) ICommunicationObject.Open(TimeSpan) ICommunicationObject.Open(TimeSpan)

Causes the ClientBase<TChannel> object to transition from the created state into the opened state within a specified interval of time.

(Inherited from ClientBase<TChannel>)
IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

Explicit implementation of the Dispose() method.

(Inherited from ClientBase<TChannel>)

Applies to