Partager via


SecureConversationServiceSendSecurityFilter.SecureMessage Method (SoapEnvelope, Security)

Applies the security requirements associated with this filter to the specified SOAP message when a secure conversation is established.

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 secureConversationServiceSendSecurityFilter1 As SecureConversationServiceSendSecurityFilter
secureConversationServiceSendSecurityFilter1.SecureMessage(envelope, security)

Syntax

'Declaration
Overloads Public NotOverridable Overrides Sub SecureMessage( _
    ByVal envelope As SoapEnvelope, _
    ByVal security As Security _
)
public override sealed void SecureMessage(
    SoapEnvelope envelope, 
    Security security
);
public:
virtual void arbitrary-name(
    SoapEnvelope^ envelope,
    Security^ security
) sealed = SendSecurityFilter::SecureMessage;
public override final void SecureMessage(
    SoapEnvelope envelope, 
    Security security
);
public final override 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

Use the SecureMessage method with 3 parameters to override the protection requirements when a secure conversation is not established.

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

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