Delegate.CombineImpl(Delegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.
protected:
virtual Delegate ^ CombineImpl(Delegate ^ d);
protected virtual Delegate CombineImpl (Delegate? d);
protected virtual Delegate CombineImpl (Delegate d);
abstract member CombineImpl : Delegate -> Delegate
override this.CombineImpl : Delegate -> Delegate
Protected Overridable Function CombineImpl (d As Delegate) As Delegate
Parameters
- d
- Delegate
The multicast (combinable) delegate whose invocation list to append to the end of the invocation list of the current multicast (combinable) delegate.
Returns
A new multicast (combinable) delegate with an invocation list that concatenates the invocation list of the current multicast (combinable) delegate and the invocation list of d
, or the current multicast (combinable) delegate if d
is null
.
Exceptions
Always thrown.
Remarks
This method applies only if the current delegate is multicast (combinable).
The current implementation simply throws a MulticastNotSupportedException.
The invocation list can contain duplicate entries; that is, entries that refer to the same method on the same object.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈