FrameworkProfileHttpClient.GetAcceptedTermsOfServiceAsync Method (Guid, Object)
Namespace: Microsoft.VisualStudio.Services.Profile
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function GetAcceptedTermsOfServiceAsync ( _
id As Guid, _
userState As Object _
) As Task(Of UserTermsOfService)
public virtual Task<UserTermsOfService> GetAcceptedTermsOfServiceAsync(
Guid id,
Object userState
)
public:
virtual Task<UserTermsOfService^>^ GetAcceptedTermsOfServiceAsync(
Guid id,
Object^ userState
)
abstract GetAcceptedTermsOfServiceAsync :
id:Guid *
userState:Object -> Task<UserTermsOfService>
override GetAcceptedTermsOfServiceAsync :
id:Guid *
userState:Object -> Task<UserTermsOfService>
public function GetAcceptedTermsOfServiceAsync(
id : Guid,
userState : Object
) : Task<UserTermsOfService>
Parameters
- id
Type: System.Guid
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<UserTermsOfService>
.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.
See Also
Reference
FrameworkProfileHttpClient Class