SubscribeServiceCallback 委托

定义

表示作为服务订阅的回调的委托。Represents a delegate that is a callback for service subscriptions.

public delegate void SubscribeServiceCallback(Type ^ serviceType, System::Object ^ serviceInstance);
public delegate void SubscribeServiceCallback(Type serviceType, object serviceInstance);
type SubscribeServiceCallback = delegate of Type * obj -> unit
Public Delegate Sub SubscribeServiceCallback(serviceType As Type, serviceInstance As Object)

参数

serviceType
Type

要订阅的服务的类型。The type of the service to subscribe to.

serviceInstance
Object

要订阅的服务的实例。The instance of the service to subscribe to.

继承
SubscribeServiceCallback

扩展方法

GetMethodInfo(Delegate)

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

适用于