Share via


SubscribeServiceCallback<ServiceType> Delegate

A generic 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(Of ServiceType) ( _
    serviceInstance As ServiceType _
)
'Usage
Dim instance As New SubscribeServiceCallback(Of ServiceType)(AddressOf HandlerMethod)
public delegate void SubscribeServiceCallback<ServiceType>(
    ServiceType serviceInstance
)
generic<typename ServiceType>
public delegate void SubscribeServiceCallback(
    ServiceType serviceInstance
)
JScript does not support generic types or methods.

Type Parameters

  • ServiceType

Parameters

  • serviceInstance
    Type: ServiceType

    The instance of the service.

Remarks

Use the Subscribe method to subscribe to a service.

See Also

Reference

Microsoft.Windows.Design Namespace

SubscribeServiceCallback

ServiceManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility