Поделиться через


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

Syntax

'Declaration
Public Delegate Function PublishServiceCallback ( _
    serviceType As Type _
) As Object
public delegate Object PublishServiceCallback(
    Type serviceType
)
public delegate Object^ PublishServiceCallback(
    Type^ serviceType
)
type PublishServiceCallback = 
    delegate of 
        serviceType:Type -> Object
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<TServiceType>

ServiceManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility