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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應