Share via


ServiceOwnerAttribute Constructor (String, String)

Note: This API is now obsolete.

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<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
)
[ObsoleteAttribute(L"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
)
[<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)>]
new : 
        serviceOwner:string * 
        servicePrincipal:string -> ServiceOwnerAttribute
public function ServiceOwnerAttribute(
    serviceOwner : String, 
    servicePrincipal : String
)

Parameters

.NET Framework Security

See Also

Reference

ServiceOwnerAttribute Class

ServiceOwnerAttribute Overload

Microsoft.VisualStudio.Services.WebApi Namespace