Partager via


SendSecurityFilter.SecureMessage Method

When overridden in a derived class, applies the security requirements associated with this filter to the specified SOAP message.

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

Usage

'Usage
Dim envelope As SoapEnvelope
Dim security As Security
Dim sendSecurityFilter1 As SendSecurityFilter
sendSecurityFilter1.SecureMessage(envelope, security)

Syntax

'Declaration
Public MustOverride Sub SecureMessage( _
    ByVal envelope As SoapEnvelope, _
    ByVal security As Security _
)
public abstract void SecureMessage(
    SoapEnvelope envelope, 
    Security security
);
public:
virtual void SecureMessage(
    SoapEnvelope^ envelope,
    Security^ security
) abstract;
public abstract void SecureMessage(
    SoapEnvelope envelope, 
    Security security
);
public abstract function SecureMessage(
     envelope : SoapEnvelope, 
     security : Security
) : Void;

Parameters

  • envelope
    A SoapEnvelope that represents the SOAP message to secure.
  • security
    A Security that represents the Security SOAP header of the SOAP message to secure.

Remarks

Create a custom policy assertion to enforce security requirements or modify SOAP messages when one of the Turnkey Security Assertions does not meet the application's needs. Use the SecureMessage method to enforce a set of a set of security requirements on ongoing SOAP messages. For more details about creating custom policy assertions, see How to: Create a Custom Policy Assertion.

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

SendSecurityFilter Class
SendSecurityFilter Members
Microsoft.Web.Services3.Security Namespace