Partager via


MessageProtectionRequirements.EncryptBody Property

Gets or sets a value indicating whether the SOAP body must be encrypted.

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

Usage

'Usage
Dim messageProtectionRequirements1 As MessageProtectionRequirements

Dim returnValue As Boolean
returnValue = messageProtectionRequirements1.EncryptBody

Dim sampleValue As Boolean
messageProtectionRequirements1.EncryptBody = sampleValue

Syntax

'Declaration
Public Property EncryptBody() As Boolean
public bool EncryptBody {get; set;}
public:
property bool EncryptBody {
    bool get();
    void set(bool value);
}
public boolean get_EncryptBody();
public void set_EncryptBody(boolean);
public function get EncryptBody() : Boolean;
public function set EncryptBody(Boolean);

Property Value

true if the SOAP body must be encrypted; otherwise, false.

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 Class
MessageProtectionRequirements Members
Microsoft.Web.Services3.Design Namespace