XmlSerializationReader.CreateAbstractTypeException(String, String) Metodo

Definizione

Crea un oggetto InvalidOperationException che indica che un oggetto da deserializzare deve essere astratto.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

protected:
 Exception ^ CreateAbstractTypeException(System::String ^ name, System::String ^ ns);
protected Exception CreateAbstractTypeException (string name, string? ns);
protected Exception CreateAbstractTypeException (string name, string ns);
member this.CreateAbstractTypeException : string * string -> Exception
Protected Function CreateAbstractTypeException (name As String, ns As String) As Exception

Parametri

name
String

Nome del tipo astratto.

ns
String

Spazio dei nomi .NET Framework del tipo astratto.

Restituisce

Exception

Eccezione InvalidOperationException.

Commenti

I membri protetti di XmlSerializationReader sono destinati solo all'uso da classi derivate usate internamente all'interno dell'infrastruttura di serializzazione XML .NET Framework.

Si applica a