IListenerChannelCallback Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈