共用方式為


StreamAccessException Constructors

Definition

Overloads

StreamAccessException(Object)

Initializes a new instance of StreamAccessException with the specified key.

StreamAccessException(Object, String)

Initializes a new instance of StreamAccessException with the specified key and message.

StreamAccessException(Object, String, Exception)

Initializes a new instance of StreamAccessException with the specified key, message, and internal exception.

StreamAccessException(Object)

Initializes a new instance of StreamAccessException with the specified key.

public:
 StreamAccessException(System::Object ^ key);
public:
 StreamAccessException(Platform::Object ^ key);
 StreamAccessException(winrt::Windows::Foundation::IInspectable const & key);
public StreamAccessException (object key);
new Microsoft.VisualStudio.Utilities.StreamAccessException : obj -> Microsoft.VisualStudio.Utilities.StreamAccessException
Public Sub New (key As Object)

Parameters

key
Object

Applies to

StreamAccessException(Object, String)

Initializes a new instance of StreamAccessException with the specified key and message.

public:
 StreamAccessException(System::Object ^ key, System::String ^ message);
public:
 StreamAccessException(Platform::Object ^ key, Platform::String ^ message);
 StreamAccessException(winrt::Windows::Foundation::IInspectable const & key, std::wstring const & message);
public StreamAccessException (object key, string message);
new Microsoft.VisualStudio.Utilities.StreamAccessException : obj * string -> Microsoft.VisualStudio.Utilities.StreamAccessException
Public Sub New (key As Object, message As String)

Parameters

key
Object

The key.

message
String

The message.

Applies to

StreamAccessException(Object, String, Exception)

Initializes a new instance of StreamAccessException with the specified key, message, and internal exception.

public:
 StreamAccessException(System::Object ^ key, System::String ^ message, Exception ^ internalEx);
public StreamAccessException (object key, string message, Exception internalEx);
new Microsoft.VisualStudio.Utilities.StreamAccessException : obj * string * Exception -> Microsoft.VisualStudio.Utilities.StreamAccessException
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.

Applies to