StreamException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StreamException(Object) |
Initializes a new instance of StreamException with the specified key. |
StreamException(Object, String) |
Initializes a new instance of StreamException with the specified key and message. |
StreamException(Object, String, Exception) |
Initializes a new instance of StreamException with the specified key, message, and internal exception. |
StreamException(Object)
Initializes a new instance of StreamException with the specified key.
public:
StreamException(System::Object ^ key);
public:
StreamException(Platform::Object ^ key);
StreamException(winrt::Windows::Foundation::IInspectable const & key);
public StreamException (object key);
new Microsoft.VisualStudio.Utilities.StreamException : obj -> Microsoft.VisualStudio.Utilities.StreamException
Public Sub New (key As Object)
Parameters
- key
- Object
The key.
Applies to
StreamException(Object, String)
Initializes a new instance of StreamException with the specified key and message.
public:
StreamException(System::Object ^ key, System::String ^ message);
public:
StreamException(Platform::Object ^ key, Platform::String ^ message);
StreamException(winrt::Windows::Foundation::IInspectable const & key, std::wstring const & message);
public StreamException (object key, string message);
new Microsoft.VisualStudio.Utilities.StreamException : obj * string -> Microsoft.VisualStudio.Utilities.StreamException
Public Sub New (key As Object, message As String)
Parameters
- key
- Object
The key.
- message
- String
The message.
Applies to
StreamException(Object, String, Exception)
Initializes a new instance of StreamException with the specified key, message, and internal exception.
public:
StreamException(System::Object ^ key, System::String ^ message, Exception ^ internalEx);
public StreamException (object key, string message, Exception internalEx);
new Microsoft.VisualStudio.Utilities.StreamException : obj * string * Exception -> Microsoft.VisualStudio.Utilities.StreamException
Public Sub New (key As Object, message As String, internalEx As Exception)
Parameters
- key
- Object
The key.
- message
- String
The message.
- internalEx
- Exception
The internal exception.