Dela via


PublishServiceCallback Delegate

A 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 ( _
    serviceType As Type _
) As Object
'Usage
Dim instance As New PublishServiceCallback(AddressOf HandlerMethod)
public delegate Object PublishServiceCallback(
    Type serviceType
)
public delegate Object^ PublishServiceCallback(
    Type^ serviceType
)
JScript does not support delegates.

Parameters

  • serviceType
    Type: System.Type

    The type of service to be published.

Return Value

Type: System.Object
An instance of type serviceType.

Remarks

Use the Publish method to publish a service.

See Also

Reference

Microsoft.Windows.Design Namespace

PublishServiceCallback<ServiceType>

ServiceManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility