編輯

共用方式為


IListenerChannelCallback Interface

Definition

Provides listener-channel notifications from protocol handlers to the worker process framework. Also enables protocol handlers to access additional parameters, such as the ID of the listener channel.

This API supports the product infrastructure and is not intended to be used directly from your code.

public interface class IListenerChannelCallback
[System.Runtime.InteropServices.Guid("dc3b0a85-9da7-47e4-ba1b-e27da9db8a1e")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IListenerChannelCallback
[<System.Runtime.InteropServices.Guid("dc3b0a85-9da7-47e4-ba1b-e27da9db8a1e")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IListenerChannelCallback = interface
Public Interface IListenerChannelCallback
Attributes

Remarks

IListenerChannelCallback is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.

Methods

GetBlob(Byte[], Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Retrieves data that the protocol manager will pass to a listener channel when the protocol manager is starting that listener channel.

GetBlobLength()

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the size of the buffered data in the listener channel.

GetId()

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the ID of a listener channel that has to be started.

ReportMessageReceived()

This API supports the product infrastructure and is not intended to be used directly from your code.

Notifies the worker process framework that a new message was received.

ReportStarted()

This API supports the product infrastructure and is not intended to be used directly from your code.

Notifies the worker process framework that a listener channel has started.

ReportStopped(Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Notifies the worker process framework that a listener channel has stopped.

Applies to