SubscribeServiceCallback Delegate
A delegate that is a callback for service subscriptions.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public Delegate Sub SubscribeServiceCallback ( _
serviceType As Type, _
serviceInstance As Object _
)
'Usage
Dim instance As New SubscribeServiceCallback(AddressOf HandlerMethod)
public delegate void SubscribeServiceCallback(
Type serviceType,
Object serviceInstance
)
public delegate void SubscribeServiceCallback(
Type^ serviceType,
Object^ serviceInstance
)
JScript does not support delegates.
Parameters
serviceType
Type: System.TypeThe type of service that has just been published.
serviceInstance
Type: System.ObjectThe instance of the service.
Remarks
Use the Subscribe method to subscribe to a service.
See Also
Reference
Microsoft.Windows.Design Namespace
SubscribeServiceCallback<ServiceType>