WorkflowServiceHost Construtores
Definição
Inicializa uma nova instância da classe WorkflowServiceHost.Initializes a new instance of the WorkflowServiceHost class.
Sobrecargas
| WorkflowServiceHost() |
Inicializa uma nova instância da classe WorkflowServiceHost.Initializes a new instance of the WorkflowServiceHost class. |
| WorkflowServiceHost(Stream, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando um fluxo de bytes que contém a definição do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a byte stream that contains the workflow definition and the base addresses of the service specified. |
| WorkflowServiceHost(String, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando um caminho para a definição do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a path to the workflow definition and the base addresses of the service specified. |
| WorkflowServiceHost(Type, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando o tipo do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a workflow type and the base addresses of the service specified. |
| WorkflowServiceHost(Stream, Stream, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando um fluxo de bytes que contém a definição do fluxo de trabalho, um fluxo de bytes que contém a definição das regras do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a byte stream that contains the workflow definition, a byte stream that contains the workflow rules definition, and the base addresses of the service specified. |
| WorkflowServiceHost(String, String, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando um caminho para a definição do fluxo de trabalho, um caminho para a definição das regras do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a path to the workflow definition, a path to the workflow rules definition, and the base addresses of the service specified. |
| WorkflowServiceHost(Stream, Stream, ITypeProvider, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando um fluxo de bytes que contém a definição do fluxo de trabalho, um fluxo de bytes que contém a definição das regras do fluxo de trabalho, um provedor de tipos para tipos de atividades personalizadas e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a byte stream that contains the workflow definition, a byte stream that contains the workflow rules definition, a type provider for custom activity types, and the base addresses of the service specified. |
| WorkflowServiceHost(String, String, ITypeProvider, Uri[]) |
Inicializa uma nova instância da classe WorkflowServiceHost usando um caminho para a definição do fluxo de trabalho, um caminho para a definição das regras do fluxo de trabalho, um provedor de tipos para tipos de atividades personalizadas e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a path to the workflow definition, a path to the workflow rules definition, a type provider for custom activity types, and the base addresses of the service specified. |
WorkflowServiceHost()
Inicializa uma nova instância da classe WorkflowServiceHost.Initializes a new instance of the WorkflowServiceHost class.
protected:
WorkflowServiceHost();
protected WorkflowServiceHost ();
Protected Sub New ()
Aplica-se a
WorkflowServiceHost(Stream, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando um fluxo de bytes que contém a definição do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a byte stream that contains the workflow definition and the base addresses of the service specified.
public:
WorkflowServiceHost(System::IO::Stream ^ workflowDefinition, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (System.IO.Stream workflowDefinition, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : System.IO.Stream * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowDefinition As Stream, ParamArray baseAddress As Uri())
Parâmetros
- workflowDefinition
- Stream
Stream que contém a definição do fluxo de trabalho.Stream that contains the workflow definition.
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga se a definição de fluxo de trabalho for armazenada no armazenamento protegido, como um banco de dados.Use this overload if the workflow definition is stored in secured storage, such as a database.
Aplica-se a
WorkflowServiceHost(String, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando um caminho para a definição do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a path to the workflow definition and the base addresses of the service specified.
public:
WorkflowServiceHost(System::String ^ workflowDefinitionPath, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (string workflowDefinitionPath, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : string * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowDefinitionPath As String, ParamArray baseAddress As Uri())
Parâmetros
- workflowDefinitionPath
- String
Uma cadeia de caracteres que contém o caminho do arquivo de definição do fluxo de trabalho.A string that contains the path to the workflow definition file.
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga quando a definição de fluxo de trabalho estiver na forma de arquivo do Windows.Use this overload when the workflow definition is in the form of windows file.
Aplica-se a
WorkflowServiceHost(Type, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando o tipo do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a workflow type and the base addresses of the service specified.
public:
WorkflowServiceHost(Type ^ workflowType, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (Type workflowType, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : Type * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowType As Type, ParamArray baseAddress As Uri())
Parâmetros
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga quando o fluxo de trabalho for definido como tipo compilado.Use this overload when the workflow is defined as compiled type.
Aplica-se a
WorkflowServiceHost(Stream, Stream, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando um fluxo de bytes que contém a definição do fluxo de trabalho, um fluxo de bytes que contém a definição das regras do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a byte stream that contains the workflow definition, a byte stream that contains the workflow rules definition, and the base addresses of the service specified.
public:
WorkflowServiceHost(System::IO::Stream ^ workflowDefinition, System::IO::Stream ^ ruleDefinition, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (System.IO.Stream workflowDefinition, System.IO.Stream ruleDefinition, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : System.IO.Stream * System.IO.Stream * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowDefinition As Stream, ruleDefinition As Stream, ParamArray baseAddress As Uri())
Parâmetros
- workflowDefinition
- Stream
Stream que contém a definição do fluxo de trabalho.Stream that contains the workflow definition.
- ruleDefinition
- Stream
Stream que contém a definição das regras do fluxo de trabalho.Stream that contains the workflow rules definition.
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga quando a definição de regras e a definição de fluxo de trabalho forem armazenadas no armazenamento protegido, como um banco de dados.Use this overload when the workflow definition and rules definition are stored in secured storage, such as a database.
Aplica-se a
WorkflowServiceHost(String, String, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando um caminho para a definição do fluxo de trabalho, um caminho para a definição das regras do fluxo de trabalho e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a path to the workflow definition, a path to the workflow rules definition, and the base addresses of the service specified.
public:
WorkflowServiceHost(System::String ^ workflowDefinitionPath, System::String ^ ruleDefinitionPath, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (string workflowDefinitionPath, string ruleDefinitionPath, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : string * string * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowDefinitionPath As String, ruleDefinitionPath As String, ParamArray baseAddress As Uri())
Parâmetros
- workflowDefinitionPath
- String
Uma cadeia de caracteres que contém o caminho do arquivo de definição do fluxo de trabalho.A string that contains the path to the workflow definition file.
- ruleDefinitionPath
- String
Uma cadeia de caracteres que contém o caminho para as regras do arquivo de definição do fluxo de trabalho.A string that contains the path to the workflow rules definition file.
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga quando a definição de regras e definição de fluxo de trabalho estiverem na forma de arquivos do Windows.Use this overload when the workflow definition and rules definition are in the form of windows files.
Aplica-se a
WorkflowServiceHost(Stream, Stream, ITypeProvider, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando um fluxo de bytes que contém a definição do fluxo de trabalho, um fluxo de bytes que contém a definição das regras do fluxo de trabalho, um provedor de tipos para tipos de atividades personalizadas e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a byte stream that contains the workflow definition, a byte stream that contains the workflow rules definition, a type provider for custom activity types, and the base addresses of the service specified.
public:
WorkflowServiceHost(System::IO::Stream ^ workflowDefinition, System::IO::Stream ^ ruleDefinition, System::Workflow::ComponentModel::Compiler::ITypeProvider ^ typeProvider, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (System.IO.Stream workflowDefinition, System.IO.Stream ruleDefinition, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : System.IO.Stream * System.IO.Stream * System.Workflow.ComponentModel.Compiler.ITypeProvider * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowDefinition As Stream, ruleDefinition As Stream, typeProvider As ITypeProvider, ParamArray baseAddress As Uri())
Parâmetros
- workflowDefinition
- Stream
Stream que contém a definição do fluxo de trabalho.Stream that contains the workflow definition.
- ruleDefinition
- Stream
Stream que contém a definição das regras do fluxo de trabalho.Stream that contains the workflow rules definition.
- typeProvider
- ITypeProvider
Um provedor de tipos que implementa a interface do ITypeProvider.A type provider that implements the ITypeProvider interface.
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga quando o fluxo de trabalho compilado fizer referência a tipos personalizados definidos em um assembly separado.Use this overload when your compiled workflow references custom types defined in a separate assembly.
Aplica-se a
WorkflowServiceHost(String, String, ITypeProvider, Uri[])
Inicializa uma nova instância da classe WorkflowServiceHost usando um caminho para a definição do fluxo de trabalho, um caminho para a definição das regras do fluxo de trabalho, um provedor de tipos para tipos de atividades personalizadas e os endereços base do serviço especificado.Initializes a new instance of the WorkflowServiceHost class using a path to the workflow definition, a path to the workflow rules definition, a type provider for custom activity types, and the base addresses of the service specified.
public:
WorkflowServiceHost(System::String ^ workflowDefinitionPath, System::String ^ ruleDefinitionPath, System::Workflow::ComponentModel::Compiler::ITypeProvider ^ typeProvider, ... cli::array <Uri ^> ^ baseAddress);
public WorkflowServiceHost (string workflowDefinitionPath, string ruleDefinitionPath, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider, params Uri[] baseAddress);
new System.ServiceModel.WorkflowServiceHost : string * string * System.Workflow.ComponentModel.Compiler.ITypeProvider * Uri[] -> System.ServiceModel.WorkflowServiceHost
Public Sub New (workflowDefinitionPath As String, ruleDefinitionPath As String, typeProvider As ITypeProvider, ParamArray baseAddress As Uri())
Parâmetros
- workflowDefinitionPath
- String
Uma cadeia de caracteres que contém o caminho do arquivo de definição do fluxo de trabalho.A string that contains the path to the workflow definition file.
- ruleDefinitionPath
- String
Uma cadeia de caracteres que contém o caminho para as regras do arquivo de definição do fluxo de trabalho.A string that contains the path to the workflow rules definition file.
- typeProvider
- ITypeProvider
Um provedor de tipos que implementa a interface do ITypeProvider.A type provider that implements the ITypeProvider interface.
- baseAddress
- Uri[]
Uma matriz do tipo Uri que contém os endereços base do serviço hospedado.An array of type Uri that contains the base addresses for the hosted service.
Comentários
Use essa sobrecarga quando você tiver o fluxo de trabalho definido em um arquivo de marcação de fluxo de trabalho (. xoml) e fizer referência a tipos personalizados definidos em um assembly separado.Use this overload when you have your workflow defined in a workflow markup file (.xoml) and it references custom types defined in a separate assembly.