Compartilhar via


Policy Class

Represents a policy, which includes of a set of requirements for a SOAP message exchange.

Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim assertions() As PolicyAssertion
Dim policy1 As New Policy(assertions)

Syntax

'Declaration
Public Class Policy
    Implements IPipelineProvider
public class Policy : IPipelineProvider
public ref class Policy : IPipelineProvider
public class Policy implements IPipelineProvider
public class Policy implements IPipelineProvider

Remarks

Use the Policy class when securing a SOAP message exchange without a policy file. For more information about using policy without a policy file, see How to: Secure a Client Without Using a Policy File.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Design.Policy

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Policy Members
Microsoft.Web.Services3.Design Namespace