Dela via


PublishServiceCallback<ServiceType> 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 (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Delegate Function PublishServiceCallback(Of ServiceType) As ServiceType
'Usage
Dim instance As New PublishServiceCallback(Of ServiceType)(AddressOf HandlerMethod)
public delegate ServiceType PublishServiceCallback<ServiceType>()
generic<typename ServiceType>
public delegate ServiceType PublishServiceCallback()
JScript does not support generic types or methods.

Type Parameters

  • ServiceType

Return Value

Type: ServiceType
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