CommandException-Konstruktor (SerializationInfo, StreamingContext)
Initialisiert eine neue Instanz der CommandException-Klasse unter Verwendung der angegebenen Informationen und des angegebenen Kontexts.
Namespace: Microsoft.VisualStudio.TestTools.Exceptions
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected CommandException(
SerializationInfo info,
StreamingContext context
)
protected:
CommandException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> CommandException
protected function CommandException(
info : SerializationInfo,
context : StreamingContext
)
Parameter
info
Typ: SerializationInfoInformationen über die Ausnahme.
context
Typ: StreamingContextDie Quelle und das Ziel der Ausnahme.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.