Share via


PublishServiceCallback<TServiceType> Delegate

A generic delegate that is called back when an object should publish an instance of a service.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Delegate Function PublishServiceCallback(Of TServiceType) As TServiceType
public delegate TServiceType PublishServiceCallback<TServiceType>()
generic<typename TServiceType>
public delegate TServiceType PublishServiceCallback()
type PublishServiceCallback = 
    delegate of unit -> 'TServiceType
JScript does not support generic types or methods.

Type Parameters

  • TServiceType

Return Value

Type: TServiceType
An instance of the specified service type.

Remarks

Use the Publish method to publish a service.

See Also

Reference

Microsoft.Windows.Design Namespace

PublishServiceCallback

ServiceManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility