Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.Services.Profile.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetAcceptedTermsOfServiceAsync ( _
    userState As Object _
) As Task(Of UserTermsOfService)
public virtual Task<UserTermsOfService> GetAcceptedTermsOfServiceAsync(
    Object userState
)
public:
virtual Task<UserTermsOfService^>^ GetAcceptedTermsOfServiceAsync(
    Object^ userState
)
abstract GetAcceptedTermsOfServiceAsync : 
        userState:Object -> Task<UserTermsOfService> 
override GetAcceptedTermsOfServiceAsync : 
        userState:Object -> Task<UserTermsOfService> 
public function GetAcceptedTermsOfServiceAsync(
    userState : Object
) : Task<UserTermsOfService>
Parameters
- 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.