Class TeamLogTeamRoutes
The routes for the Dropbox.
Inheritance
Inherited Members
Namespace: Dropbox.Api.TeamLog.Routes
Assembly: Dropbox.Api.dll
Syntax
public class TeamLogTeamRoutes
Methods
| Improve this Doc View SourceBeginGetEvents(GetTeamEventsArg, AsyncCallback, Object)
Begins an asynchronous send to the get events route.
Declaration
public IAsyncResult BeginGetEvents(GetTeamEventsArg getTeamEventsArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
getTeamEventsArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginGetEvents(UInt32, String, TimeRange, EventCategory, EventTypeArg, AsyncCallback, Object)
Begins an asynchronous send to the get events route.
Declaration
public IAsyncResult BeginGetEvents(uint limit = 1000U, string accountId = null, TimeRange time = null, EventCategory category = null, EventTypeArg eventType = null, AsyncCallback callback = null, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
limit | The maximal number of results to return per call. Note that
some calls may not return |
System. |
accountId | Filter the events by account ID. Return only events with this account_id as either Actor, Context, or Participants. |
Time |
time | Filter by time range. |
Event |
category | Filter the returned events to a single category. Note that category shouldn't be provided together with event_type. |
Event |
eventType | Filter the returned events to a single event type. Note that event_type shouldn't be provided together with category. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginGetEventsContinue(GetTeamEventsContinueArg, AsyncCallback, Object)
Begins an asynchronous send to the get events continue route.
Declaration
public IAsyncResult BeginGetEventsContinue(GetTeamEventsContinueArg getTeamEventsContinueArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
getTeamEventsContinueArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginGetEventsContinue(String, AsyncCallback, Object)
Begins an asynchronous send to the get events continue route.
Declaration
public IAsyncResult BeginGetEventsContinue(string cursor, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
cursor | Indicates from what point to get the next set of events. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
EndGetEvents(IAsyncResult)
Waits for the pending asynchronous send to the get events route to complete
Declaration
public GetTeamEventsResult EndGetEvents(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Get |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Get |
EndGetEventsContinue(IAsyncResult)
Waits for the pending asynchronous send to the get events continue route to complete
Declaration
public GetTeamEventsResult EndGetEventsContinue(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Get |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Get |
GetEventsAsync(GetTeamEventsArg)
Declaration
public Task<GetTeamEventsResult> GetEventsAsync(GetTeamEventsArg getTeamEventsArg)
Parameters
Type | Name | Description |
---|---|---|
Get |
getTeamEventsArg |
Returns
Type | Description |
---|---|
System. |
GetEventsAsync(UInt32, String, TimeRange, EventCategory, EventTypeArg)
Declaration
public Task<GetTeamEventsResult> GetEventsAsync(uint limit = 1000U, string accountId = null, TimeRange time = null, EventCategory category = null, EventTypeArg eventType = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
limit | |
System. |
accountId | |
Time |
time | |
Event |
category | |
Event |
eventType |
Returns
Type | Description |
---|---|
System. |
GetEventsContinueAsync(GetTeamEventsContinueArg)
Once a cursor has been retrieved from Get
Permission : Team Auditing.
Declaration
public Task<GetTeamEventsResult> GetEventsContinueAsync(GetTeamEventsContinueArg getTeamEventsContinueArg)
Parameters
Type | Name | Description |
---|---|---|
Get |
getTeamEventsContinueArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Get |
GetEventsContinueAsync(String)
Once a cursor has been retrieved from Get
Permission : Team Auditing.
Declaration
public Task<GetTeamEventsResult> GetEventsContinueAsync(string cursor)
Parameters
Type | Name | Description |
---|---|---|
System. |
cursor | Indicates from what point to get the next set of events. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Get |