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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk