Share via


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.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<ServiceType>

ServiceManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility