Edit

Share via


PublishServiceCallback Delegate

Definition

A delegate that references a method that publishes an instance of a service.

public delegate System::Object ^ PublishServiceCallback(Type ^ serviceType);
public delegate object PublishServiceCallback(Type serviceType);
type PublishServiceCallback = delegate of Type -> obj
Public Delegate Function PublishServiceCallback(serviceType As Type) As Object 

Parameters

serviceType
Type

The type of the service to publish.

Return Value

An instance of the published service.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to