Udostępnij za pośrednictwem


Konstruktor WizardCancelledException — (SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie WizardCancelledException klasy serializowane dane.

Przestrzeń nazw:  Microsoft.VisualStudio.TemplateWizard
Zestaw:  Microsoft.VisualStudio.TemplateWizardInterface (w Microsoft.VisualStudio.TemplateWizardInterface.dll)

Składnia

'Deklaracja
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected WizardCancelledException(
    SerializationInfo info,
    StreamingContext context
)
protected:
WizardCancelledException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> WizardCancelledException
protected function WizardCancelledException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parametry

Wyjątki

Wyjątek Warunek
ArgumentNullException

info Parametr jest odwołanie o wartości null (Nothing w Visual Basic)

SerializationException

Nazwa klasy jest odwołanie o wartości null (Nothing w Visual Basic) lub HResult jest zero (0).

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WizardCancelledException Klasa

Przeciążenie WizardCancelledException

Przestrzeń nazw Microsoft.VisualStudio.TemplateWizard