ProxyCredentialsRequiredException Constructor (String, String)
Creates a ProxyCredentialsRequiredException object, and specifies the URL that requires credentials and an error message.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣告
Public Sub New ( _
url As String, _
message As String _
)
public ProxyCredentialsRequiredException(
string url,
string message
)
public:
ProxyCredentialsRequiredException(
String^ url,
String^ message
)
new :
url:string *
message:string -> ProxyCredentialsRequiredException
public function ProxyCredentialsRequiredException(
url : String,
message : String
)
Parameters
- url
Type: System.String
The URL that requires credentials.
- message
Type: System.String
The text to display.
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