CrossAppDomainDelegate 委托

定义

DoCallBack(CrossAppDomainDelegate) 使用,用于跨应用程序域的调用。Used by DoCallBack(CrossAppDomainDelegate) for cross-application domain calls.

public delegate void CrossAppDomainDelegate();
public delegate void CrossAppDomainDelegate();
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void CrossAppDomainDelegate();
type CrossAppDomainDelegate = delegate of unit -> unit
[<System.Runtime.InteropServices.ComVisible(true)>]
type CrossAppDomainDelegate = delegate of unit -> unit
Public Delegate Sub CrossAppDomainDelegate()
属性

注解

和的每个派生类 Delegate MulticastDelegate 都有一个构造函数和一个 Invoke 方法。Every derived class of Delegate and MulticastDelegate has a constructor and an Invoke method. 请参阅的说明中给定的 c + + 代码示例 DelegateSee the C++ code example given in the description for Delegate.

扩展方法

GetMethodInfo(Delegate)

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

适用于