Редагувати

Поділитися через


WorkflowWebHostingModule Class

Definition

Caution

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

Provides a mechanism for routing the workflow instance ID to and from a WorkflowWebService to a cookie in the Web client. This class cannot be inherited.

public ref class WorkflowWebHostingModule sealed : System::Web::IHttpModule
public sealed class WorkflowWebHostingModule : System.Web.IHttpModule
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowWebHostingModule : System.Web.IHttpModule
type WorkflowWebHostingModule = class
    interface IHttpModule
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowWebHostingModule = class
    interface IHttpModule
Public NotInheritable Class WorkflowWebHostingModule
Implements IHttpModule
Inheritance
WorkflowWebHostingModule
Attributes
Implements

Remarks

Note

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

This functionality is required to reenter a workflow definition that is exposed as a Web service. Without this module, the first call to the workflow-exposed Web service works, but subsequent calls fail. Additionally, make sure that the client application has cookies enabled.

Constructors

WorkflowWebHostingModule()

Initializes a new instance of the WorkflowWebHostingModule class.

Methods

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)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IHttpModule.Dispose()

Releases the resources used by the WorkflowWebHostingModule.

IHttpModule.Init(HttpApplication)

Initializes the workflow Web hosting module and prepares the module to handle requests.

Applies to

See also