Share via


SaveNotSupportedException Constructors

Definition

Overloads

SaveNotSupportedException()

Initializes a new instance of the SaveNotSupportedException class.

SaveNotSupportedException(String)

Initializes a new instance of the SaveNotSupportedException class by using the provided message.

SaveNotSupportedException(Type)

Initializes a new instance of the SaveNotSupportedException class by using the provided test type.

SaveNotSupportedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SaveNotSupportedException class by using the provided information and context.

SaveNotSupportedException(String, Exception)

Initializes a new instance of the SaveNotSupportedException class by using the provided message and inner exception.

SaveNotSupportedException()

Initializes a new instance of the SaveNotSupportedException class.

public:
 SaveNotSupportedException();
public SaveNotSupportedException ();
Public Sub New ()

Applies to

SaveNotSupportedException(String)

Initializes a new instance of the SaveNotSupportedException class by using the provided message.

public:
 SaveNotSupportedException(System::String ^ msg);
public SaveNotSupportedException (string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException : string -> Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException
Public Sub New (msg As String)

Parameters

msg
String

Message that describes the exception.

Applies to

SaveNotSupportedException(Type)

Initializes a new instance of the SaveNotSupportedException class by using the provided test type.

public:
 SaveNotSupportedException(Type ^ type);
public SaveNotSupportedException (Type type);
new Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException : Type -> Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException
Public Sub New (type As Type)

Parameters

type
Type

Type of test that is not supported by save operation.

Applies to

SaveNotSupportedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SaveNotSupportedException class by using the provided information and context.

protected:
 SaveNotSupportedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SaveNotSupportedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Information about the exception.

context
StreamingContext

The source and the destination of the exception.

Applies to

SaveNotSupportedException(String, Exception)

Initializes a new instance of the SaveNotSupportedException class by using the provided message and inner exception.

public:
 SaveNotSupportedException(System::String ^ msg, Exception ^ inner);
public SaveNotSupportedException (string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.SaveNotSupportedException
Public Sub New (msg As String, inner As Exception)

Parameters

msg
String

Message that describes the exception.

inner
Exception

Exception that caused the current exception.

Applies to