Get the current Buddy web-service date/time.
Namespace: BuddyAssembly: Buddy (in Buddy.dll) Version: 1.0.2.7 (1.0.2.7)
Syntax
| C# |
|---|
public IAsyncResult GetServiceTimeAsync( Action<DateTime, BuddyCallbackParams> callback, Object state = null ) |
| Visual Basic |
|---|
Public Function GetServiceTimeAsync ( _ callback As Action(Of DateTime, BuddyCallbackParams), _ Optional state As Object = Nothing _ ) As IAsyncResult |
| Visual C++ |
|---|
public: IAsyncResult^ GetServiceTimeAsync( Action<DateTime, BuddyCallbackParams^>^ callback, Object^ state = nullptr ) |
| JavaScript |
|---|
function GetServiceTimeAsync(callback, state); |
Parameters
- callback
- Type: System..::..Action<(Of <(<'DateTime, BuddyCallbackParams>)>)>
The async callback to call on success or error. The first parameter is the datetime of the Buddy web-service.
- state (Optional)
- Type: System..::..Object
An optional user defined object that will be passed to the callback.