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
- serviceOwner
Type: System.String
- servicePrincipal
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.