MulticastNotSupportedException Klass

Definition

Undantaget som utlöses när det görs ett försök att kombinera två ombud baserat på Delegate typen i stället för MulticastDelegate typen. Det går inte att ärva den här klassen.

public ref class MulticastNotSupportedException sealed : SystemException
public sealed class MulticastNotSupportedException : SystemException
[System.Serializable]
public sealed class MulticastNotSupportedException : SystemException
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class MulticastNotSupportedException : SystemException
type MulticastNotSupportedException = class
    inherit SystemException
[<System.Serializable>]
type MulticastNotSupportedException = class
    inherit SystemException
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type MulticastNotSupportedException = class
    inherit SystemException
Public NotInheritable Class MulticastNotSupportedException
Inherits SystemException
Arv
MulticastNotSupportedException
Attribut

Kommentarer

Endast ombud baserat på MulticastDelegate typen kan kombineras. Två multicast-ombud kan kombineras med hjälp av CombineImpl metoden .

MulticastNotSupportedException använder HRESULT-COR_E_MULTICASTNOTSUPPORTED, som har värdet 0x80131514.

För en lista över inledande egenskapsvärden för en instans av MulticastNotSupportedException, se i MulticastNotSupportedException-konstruktorn.

Konstruktorer

Name Description
MulticastNotSupportedException()

Initierar en ny instans av MulticastNotSupportedException klassen.

MulticastNotSupportedException(String, Exception)

Initierar en ny instans av MulticastNotSupportedException klassen med ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.

MulticastNotSupportedException(String)

Initierar en ny instans av MulticastNotSupportedException klassen med ett angivet felmeddelande.

Egenskaper

Name Description
Data

Hämtar en samling nyckel/värde-par som ger ytterligare användardefinierad information om undantaget.

(Ärvd från Exception)
HelpLink

Hämtar eller anger en länk till hjälpfilen som är associerad med det här undantaget.

(Ärvd från Exception)
HResult

Hämtar eller anger HRESULT, ett kodat numeriskt värde som har tilldelats ett specifikt undantag.

(Ärvd från Exception)
InnerException

Hämtar den Exception instans som orsakade det aktuella undantaget.

(Ärvd från Exception)
Message

Hämtar ett meddelande som beskriver det aktuella undantaget.

(Ärvd från Exception)
Source

Hämtar eller anger namnet på programmet eller objektet som orsakar felet.

(Ärvd från Exception)
StackTrace

Hämtar en strängrepresentation av de omedelbara ramarna i anropsstacken.

(Ärvd från Exception)
TargetSite

Hämtar den metod som utlöser det aktuella undantaget.

(Ärvd från Exception)

Metoder

Name Description
Equals(Object)

Avgör om det angivna objektet är lika med det aktuella objektet.

(Ärvd från Object)
GetBaseException()

När den åsidosätts i en härledd klass returnerar den Exception som är rotorsaken till ett eller flera efterföljande undantag.

(Ärvd från Exception)
GetHashCode()

Fungerar som standard-hash-funktion.

(Ärvd från Object)
GetObjectData(SerializationInfo, StreamingContext)
Föråldrad.

När åsidosättas i en härledd klass anger du SerializationInfo med information om undantaget.

(Ärvd från Exception)
GetType()

Hämtar körningstypen för den aktuella instansen.

(Ärvd från Exception)
MemberwiseClone()

Skapar en ytlig kopia av den aktuella Object.

(Ärvd från Object)
ToString()

Skapar och returnerar en strängrepresentation av det aktuella undantaget.

(Ärvd från Exception)

Händelser

Name Description
SerializeObjectState
Föråldrad.

Inträffar när ett undantag serialiseras för att skapa ett undantagstillståndsobjekt som innehåller serialiserade data om undantaget.

(Ärvd från Exception)

Gäller för

Se även