共用方式為


ServiceOwnerAttribute 建構函式 (String, String)

注意:這個應用程式開發介面現在已經過時。

命名空間:  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 命名空間