Partager via


SendSecurityFilter.GetRemoteActor Method

Gets the actor attribute on the Security SOAP header for the outgoing SOAP message to which this filter applies.

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

Usage

'Usage
Dim soapVersion As Soap
Dim returnValue As String
Dim sendSecurityFilter1 As SendSecurityFilter
returnValue = sendSecurityFilter1.GetRemoteActor(soapVersion)

Syntax

'Declaration
Public Overridable Function GetRemoteActor( _
    ByVal soapVersion As Soap _
) As String
public virtual string GetRemoteActor(
    Soap soapVersion
);
public:
virtual String^ GetRemoteActor(
    Soap^ soapVersion
);
public virtual System.String GetRemoteActor(
    Soap soapVersion
);
public function GetRemoteActor(
     soapVersion : Soap
) : String;

Parameters

  • soapVersion
    A Soap that represents the version of the SOAP protocol that is being used.

Return Value

The actor attribute on the Security SOAP header for the outgoing SOAP message to which this filter applies.

Remarks

When the outgoing SOAP message is being filtered by a client, then the GetRemoteActor method gets the value of the ClientActor property for policy assertions; otherwise it is the value of the ServiceActor property. The IsClient parameter to the SendSecurityFilter determines whether the SOAP message is sent by a client or a Web service.

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