Partager via


UsernameForCertificateAssertion.ServiceOutputFilter.SecureMessage Method (SoapEnvelope, Security, MessageProtectionRequirements)

Secures the SOAP response by using the security token specified by Security and the message protection requirements specified by MessageProtectionRequirements.

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

Usage

'Usage
Dim envelope As SoapEnvelope
Dim security As Security
Dim response As MessageProtectionRequirements
Dim usernameForCertificateAssertion_ServiceOutputFilter1 As UsernameForCertificateAssertion.ServiceOutputFilter
usernameForCertificateAssertion_ServiceOutputFilter1.SecureMessage(envelope, security, response)

Syntax

'Declaration
Overloads Public Overrides Sub SecureMessage( _
    ByVal envelope As SoapEnvelope, _
    ByVal security As Security, _
    ByVal response As MessageProtectionRequirements _
)
public override void SecureMessage(
    SoapEnvelope envelope, 
    Security security, 
    MessageProtectionRequirements response
);
public:
virtual void SecureMessage(
    SoapEnvelope^ envelope,
    Security^ security,
    MessageProtectionRequirements^ response
) override;
public override void SecureMessage(
    SoapEnvelope envelope, 
    Security security, 
    MessageProtectionRequirements response
);
public override function SecureMessage(
     envelope : SoapEnvelope, 
     security : Security, 
     response : MessageProtectionRequirements
) : Void;

Parameters

  • envelope
  • security
    Represents the security header of the SOAP response.
  • response
    The protection requirements for a SOAP response.

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

UsernameForCertificateAssertion.ServiceOutputFilter Class
UsernameForCertificateAssertion.ServiceOutputFilter Members
Microsoft.Web.Services3.Design Namespace