Partager via


OperationProtectionRequirements Class

Specifies the protection requirements for a Web Services Definition Language (WSDL) operation.

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

Usage

'Usage
Dim operationProtectionRequirements1 As New OperationProtectionRequirements()

Syntax

'Declaration
Public Class OperationProtectionRequirements
    Implements IXmlSerializable
public class OperationProtectionRequirements : IXmlSerializable
public ref class OperationProtectionRequirements : IXmlSerializable
public class OperationProtectionRequirements implements IXmlSerializable
public class OperationProtectionRequirements implements IXmlSerializable

Remarks

Use the OperationProtectionRequirements to specify protection requirements when a SOAP message exchange is secured without using a policy file. Protection requirements specify the SOAP message parts that are digitally signed or encrypted. The OperationProtectionRequirements allows you to specify the protection requirements for SOAP requests, SOAP responses, and SOAP faults sent to and from an endpoint with a specific SOAP action. To specify the protection requirements for all SOAP actions at an endpoint, use the EndpointProtectionRequirements class. For more information about securing a Web service without using a policy file, see How to: Secure a Web Service Without Using a Policy File.

When a SOAP message is secured using a policy file, protection requirements are specified in a policy file using the <protection> Element. For more information about securing a SOAP message exchange using a policy file, see How to: Secure a Web Service Using a Policy File.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Design.OperationProtectionRequirements

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

OperationProtectionRequirements Members
Microsoft.Web.Services3.Design Namespace