PublishServiceCallback 委托

定义

一个委托,该委托引用发布服务实例的方法。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 

参数

serviceType
Type

要发布的服务的类型。The type of the service to publish.

返回值

Object

发布的服务的实例。An instance of the published service.

继承
PublishServiceCallback

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于