Partager via


Pipeline.GetOutputBehavior Generic Method

Gets a custom interface for an outgoing SOAP filter.

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

Usage

'Usage
Public Class SomeType1
End Class
Dim returnValue As SomeType1
Dim pipeline1 As Pipeline
returnValue = pipeline1.GetOutputBehavior(Of SomeType1)()

Syntax

'Declaration
Public Function GetOutputBehavior(Of T)() As T
public T GetOutputBehavior<T>();
public:
generic<typename T>
T GetOutputBehavior();
public T GetOutputBehavior<T>();
JScript does not support Generics.

Return Value

A custom interface for an outgoing SOAP filter.

Remarks

Use the GetOutputBehavior method to obtain a custom interface for an outgoing SOAP filter. For example, the SecureConversationClientSendSecurityFilter outgoing SOAP filter supports the ISecureConversationEvents interface that allows an application to subscribe to an event that is raised when a secure conversation is established by the soap filter. Use the GetOutputBehavior method to get an instance that implements the ISecureConversationEvents interface to which an event handler can be added for the SecureConversationCreated event.

The GetOutputBehavior method calls the GetBehavior method on outgoing SOAP filters and returns an instance of the custom interface from the first filter that does not return null.

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

Pipeline Class
Pipeline Members
Microsoft.Web.Services3 Namespace