SubscribeServiceCallback<TServiceType> Delegate

A generic 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(Of TServiceType) ( _
    serviceInstance As TServiceType _
)
public delegate void SubscribeServiceCallback<TServiceType>(
    TServiceType serviceInstance
)
generic<typename TServiceType>
public delegate void SubscribeServiceCallback(
    TServiceType serviceInstance
)
type SubscribeServiceCallback = 
    delegate of 
        serviceInstance:'TServiceType -> unit
JScript does not support generic types or methods.

Type Parameters

  • TServiceType

Parameters

  • serviceInstance
    Type: TServiceType
    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