WorkflowSchedulerService Classe
Definição
Cuidado
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Fornece um mecanismo para implementar seu próprio pool de threads para executar o fluxo de trabalho e gerenciar os eventos e o registro do temporizador na memória.Provides a mechanism to implement your own thread pool to execute the workflow and manage in-memory timer registration and events.
public ref class WorkflowSchedulerService abstract : System::Workflow::Runtime::Hosting::WorkflowRuntimeService
public abstract class WorkflowSchedulerService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowSchedulerService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
type WorkflowSchedulerService = class
inherit WorkflowRuntimeService
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type WorkflowSchedulerService = class
inherit WorkflowRuntimeService
Public MustInherit Class WorkflowSchedulerService
Inherits WorkflowRuntimeService
- Herança
- Derivado
- Atributos
Comentários
Observação
Este material discute tipos e namespaces obsoletos.This material discusses types and namespaces that are obsolete. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
WorkflowSchedulerService é essa classe base para todas as classes que criam threads que executam instâncias de fluxo de trabalho no host do mecanismo de tempo de execução de fluxo de trabalhoWorkflowSchedulerService is that base class for all classes that create threads that run workflow instances on the workflow runtime engine host. Eles incluem DefaultWorkflowSchedulerService e ManualWorkflowSchedulerService.These include DefaultWorkflowSchedulerService and ManualWorkflowSchedulerService.
Notas aos Implementadores
Ao herdar do WorkflowSchedulerService , você deve substituir os seguintes membros: Cancel(Guid) , Schedule(WaitCallback, Guid) e Schedule(WaitCallback, Guid, DateTime, Guid) .When you inherit from WorkflowSchedulerService, you must override the following members: Cancel(Guid), Schedule(WaitCallback, Guid) and Schedule(WaitCallback, Guid, DateTime, Guid).
Construtores
| WorkflowSchedulerService() |
Quando implementado em uma classe derivada, inicializa uma nova instância da classe WorkflowSchedulerService.When implemented in a derived class, initializes a new instance of the WorkflowSchedulerService class. |
Propriedades
| Runtime |
Obtém o WorkflowRuntime para este serviço.Gets the WorkflowRuntime for this service. (Herdado de WorkflowRuntimeService) |
| State |
Obtém o estado do WorkflowRuntimeService.Gets the state of the WorkflowRuntimeService. (Herdado de WorkflowRuntimeService) |
Métodos
| Cancel(Guid) |
Quando substituído em uma classe derivada, cancela o item de trabalho agendado com a |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| OnStarted() |
Quando substituído em uma classe derivada, representa o método que será chamado quando o mecanismo de runtime de fluxo de trabalho gerar o evento Started.When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Started event. (Herdado de WorkflowRuntimeService) |
| OnStopped() |
Quando substituído em uma classe derivada, representa o método que será chamado quando o mecanismo de runtime de fluxo de trabalho gerar o evento Stopped.When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Stopped event. (Herdado de WorkflowRuntimeService) |
| RaiseServicesExceptionNotHandledEvent(Exception, Guid) |
Aciona o evento ServicesExceptionNotHandled.Raises the ServicesExceptionNotHandled event. (Herdado de WorkflowRuntimeService) |
| Schedule(WaitCallback, Guid) |
Quando substituído em uma classe derivada, esse método é chamado pelo runtime para agendar um item de trabalho (retorno de chamada) para uma ID de instância específica.When overridden in a derived class, this method is called by the runtime to schedule a work item (callback) for a particular instance ID. |
| Schedule(WaitCallback, Guid, DateTime, Guid) |
Quando substituído em uma classe derivada, esse método é chamado pelo runtime para agendar um item de trabalho (retorno de chamada) para uma instância de fluxo de trabalho específica a ser executada em um determinado momento (DateTime).When overridden in a derived class, this method is called by the runtime to schedule a work item (callback) for a particular workflow instance to be done at the given time (DateTime). |
| Start() |
Quando substituído em uma classe derivada, inicia o serviço e altera o State para Starting.When overridden in a derived class, starts the service and changes the State to Starting. (Herdado de WorkflowRuntimeService) |
| Stop() |
Quando substituído em uma classe derivada, interrompe o serviço e altera o State para Stopping.When overridden in a derived class, stops the service and changes the State to Stopping. (Herdado de WorkflowRuntimeService) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |