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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za