Share via


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

'Declaration
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: String

    The URL that requires credentials.

  • message
    Type: 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

See Also

Reference

ProxyCredentialsRequiredException Class

ProxyCredentialsRequiredException Overload

Microsoft.VisualStudio.ExtensionManager Namespace