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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om