LocationHttpClient.GetConnectionDataAsync Method
Namespace: Microsoft.VisualStudio.Services.Location.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function GetConnectionDataAsync ( _
connectOptions As ConnectOptions, _
lastChangeId As Integer, _
cancellationToken As CancellationToken, _
userState As Object _
) As Task(Of ConnectionData)
public Task<ConnectionData> GetConnectionDataAsync(
ConnectOptions connectOptions,
int lastChangeId,
CancellationToken cancellationToken,
Object userState
)
public:
Task<ConnectionData^>^ GetConnectionDataAsync(
ConnectOptions connectOptions,
int lastChangeId,
CancellationToken cancellationToken,
Object^ userState
)
member GetConnectionDataAsync :
connectOptions:ConnectOptions *
lastChangeId:int *
cancellationToken:CancellationToken *
userState:Object -> Task<ConnectionData>
public function GetConnectionDataAsync(
connectOptions : ConnectOptions,
lastChangeId : int,
cancellationToken : CancellationToken,
userState : Object
) : Task<ConnectionData>
Parameters
- connectOptions
Type: Microsoft.VisualStudio.Services.WebApi.ConnectOptions
- lastChangeId
Type: System.Int32
- cancellationToken
Type: System.Threading.CancellationToken
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<ConnectionData>
.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.