다음을 통해 공유


MessageProtectionRequirements Class

Specifies the protection requirements for a SOAP message.

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

Usage

'Usage
Dim messageProtectionRequirements1 As New MessageProtectionRequirements()

Syntax

'Declaration
Public Class MessageProtectionRequirements
public class MessageProtectionRequirements
public ref class MessageProtectionRequirements
public class MessageProtectionRequirements
public class MessageProtectionRequirements

Remarks

Use the MessageProtectionRequirements classto 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, such as the WS-Addressing SOAP headers, the security timestamp or the SOAP body. The MessageProtectionRequirements allows you to specify the protection requirements for a SOAP message, such as a SOAP request, SOAP response, or SOAP fault sent to and from an endpoint. To specify protection requirements for all SOAP messages sent to a specific operation at an endpoint, or for all SOAP messages sent to and from an endpoint, use the OperationProtectionRequirements, and EndpointProtectionRequirements classes, respectively. For more details 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 details 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.MessageProtectionRequirements

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

MessageProtectionRequirements Members
Microsoft.Web.Services3.Design Namespace