ServiceOwnerAttribute 构造函数 (String, String)

注意:此 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
)

参数

.NET Framework 安全性

请参阅

参考

ServiceOwnerAttribute 类

ServiceOwnerAttribute 重载

Microsoft.VisualStudio.Services.WebApi 命名空间