你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceClient<T>.SetUserAgent 方法

定义

重载

SetUserAgent(String)
SetUserAgent(String, String)

SetUserAgent(String)

public bool SetUserAgent (string productName);
member this.SetUserAgent : string -> bool
Public Function SetUserAgent (productName As String) As Boolean

参数

productName
String

返回

适用于

SetUserAgent(String, String)

public bool SetUserAgent (string productName, string version);
member this.SetUserAgent : string * string -> bool
Public Function SetUserAgent (productName As String, version As String) As Boolean

参数

productName
String
version
String

返回

适用于