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