ProxyCredentialsRequiredException Constructor (String, String, Exception)
Creates a ProxyCredentialsRequiredException object, specifies the URL that requires credentials and an error message, and exposes the inner exception.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
声明
Public Sub New ( _
url As String, _
message As String, _
inner As Exception _
)
public ProxyCredentialsRequiredException(
string url,
string message,
Exception inner
)
public:
ProxyCredentialsRequiredException(
String^ url,
String^ message,
Exception^ inner
)
new :
url:string *
message:string *
inner:Exception -> ProxyCredentialsRequiredException
public function ProxyCredentialsRequiredException(
url : String,
message : String,
inner : Exception
)
Parameters
- url
Type: System.String
The URL that requires credentials.
- message
Type: System.String
The text to display.
- inner
Type: System.Exception
The inner exception that threw the current exception.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProxyCredentialsRequiredException Class