ResourcePool.TransactionEndDelegate 委托
定义
表示处理事务结束的方法。Represents the method that handles the ending of a transaction.
public: delegate void ResourcePool::TransactionEndDelegate(System::Object ^ resource);
public delegate void ResourcePool.TransactionEndDelegate(object resource);
type ResourcePool.TransactionEndDelegate = delegate of obj -> unit
Public Delegate Sub ResourcePool.TransactionEndDelegate(resource As Object)
参数
- resource
- Object
传递回委托的对象。The object that is passed back to the delegate.
- 继承
注解
创建 ResourcePool.TransactionEndDelegate 委托时,需要标识将处理该事件的方法。When you create a ResourcePool.TransactionEndDelegate delegate, you identify the method that will handle the event. 有关事件处理程序委托的详细信息, 请参阅处理和引发事件。For more information about event handler delegates, see Handling and Raising Events.
扩展方法
GetMethodInfo(Delegate) |
获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate. |