注意:此 API 现在已废弃不用。
命名空间: Microsoft.VisualStudio.Services.WebApi
程序集: Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)
语法
声明
<ObsoleteAttribute("This constructor is for backward compatiblity only, use the single argument constructor. Your ServiceOwner guid should be the same as your ServicePrincipal guid.", _
False)> _
Public Sub New ( _
serviceOwner As String, _
servicePrincipal As String _
)
[ObsoleteAttribute("This constructor is for backward compatiblity only, use the single argument constructor. Your ServiceOwner guid should be the same as your ServicePrincipal guid.",
false)]
public ServiceOwnerAttribute(
string serviceOwner,
string servicePrincipal
)
参数
- serviceOwner
类型:System.String
- servicePrincipal
类型:System.String
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。