다음을 통해 공유


SecureConversationServiceReceiveSecurityFilter.ValidateMessageSecurity Method (SoapEnvelope, Security)

Validates that the specified SOAP message and Security SOAP header meets the security requirements enforced by this filter 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 secureConversationServiceReceiveSecurityFilter1 As SecureConversationServiceReceiveSecurityFilter
secureConversationServiceReceiveSecurityFilter1.ValidateMessageSecurity(envelope, security)

Syntax

'Declaration
Overloads Public NotOverridable Overrides Sub ValidateMessageSecurity( _
    ByVal envelope As SoapEnvelope, _
    ByVal security As Security _
)
public override sealed void ValidateMessageSecurity(
    SoapEnvelope envelope, 
    Security security
);
public:
virtual void arbitrary-name(
    SoapEnvelope^ envelope,
    Security^ security
) sealed = ReceiveSecurityFilter::ValidateMessageSecurity;
public override final void ValidateMessageSecurity(
    SoapEnvelope envelope, 
    Security security
);
public final override function ValidateMessageSecurity(
     envelope : SoapEnvelope, 
     security : Security
) : Void;

Parameters

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

Exceptions

Exception type Condition
ArgumentException

envelope is null.

InvalidOperationException

security is null.

Remarks

Use the ValidateMessageSecurity method that takes 3 parameters when 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

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