DialogServiceConfig.SetProxy Method
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
SetProxy(String, Int32) |
Sets proxy configuration. |
SetProxy(String, Int32, String, String) |
Sets proxy configuration. Note: Proxy functionality is not available on macOS. This method will have no effect on the macOS platform. |
SetProxy(String, Int32)
Sets proxy configuration.
public void SetProxy (string proxyHostName, int proxyPort);
member this.SetProxy : string * int -> unit
Public Sub SetProxy (proxyHostName As String, proxyPort As Integer)
Parameters
- proxyHostName
- String
The host name of the proxy server.
- proxyPort
- Int32
The port number of the proxy server.
Applies to
SetProxy(String, Int32, String, String)
Sets proxy configuration.
Note: Proxy functionality is not available on macOS. This method will have no effect on the macOS platform.
public void SetProxy (string proxyHostName, int proxyPort, string proxyUserName, string proxyPassword);
member this.SetProxy : string * int * string * string -> unit
Public Sub SetProxy (proxyHostName As String, proxyPort As Integer, proxyUserName As String, proxyPassword As String)
Parameters
- proxyHostName
- String
The host name of the proxy server, without the protocol scheme (http://)
- proxyPort
- Int32
The port number of the proxy server.
- proxyUserName
- String
The user name of the proxy server.
- proxyPassword
- String
The password of the proxy server.
Applies to
Azure SDK for .NET