| LinkarCltResetCommonBlocksAsync Method (LinkarCltOperationAsyncCallbackLkData, CredentialsOptions, Int32) |
Resets the COMMON variables with the 100 most used files in a asynchronous way.
Direct Method.
Namespace:
LinkarClient
Assemblies:
LinkarClientCore (in LinkarClientCore.dll) Version: 2.1.0.0
LinkarClientMono (in LinkarClientMono.dll) Version: 2.1.0.0 (2.1.0.0)
LinkarClient (in LinkarClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax public static void ResetCommonBlocksAsync(
OperationAsyncCallbackLkData cmdResetCommonBlocksFinished,
CredentialsOptions credentialsOptions,
int receiveTimeout = 0
)
Public Shared Sub ResetCommonBlocksAsync (
cmdResetCommonBlocksFinished As OperationAsyncCallbackLkData,
credentialsOptions As CredentialsOptions,
Optional receiveTimeout As Integer = 0
)
public:
static void ResetCommonBlocksAsync(
OperationAsyncCallbackLkData^ cmdResetCommonBlocksFinished,
CredentialsOptions^ credentialsOptions,
int receiveTimeout = 0
)
static member ResetCommonBlocksAsync :
cmdResetCommonBlocksFinished : OperationAsyncCallbackLkData *
credentialsOptions : CredentialsOptions *
?receiveTimeout : int
(* Defaults:
let _receiveTimeout = defaultArg receiveTimeout 0
*)
-> unit
Parameters
- cmdResetCommonBlocksFinished
- Type: LinkarClientOperationAsyncCallbackLkData
Return type in asynchronous methods - credentialsOptions
- Type: LinkarCommonCredentialsOptions
Object that defines the necessary data to access to the Linkar Server: Username, Password, EntryPoint, Language, FreeText.
- receiveTimeout (Optional)
- Type: SystemInt32
It's the maximum time in seconds that the client will keep waiting the answer by the server. By default -1 (wait indefinitely).
Examples CredentialsOptions crdOpt = new CredentialsOptions("127.0.0.1", 11300, "admin", "admin", "ENTRYPOINT");
LinkarClt.ResetCommonBlocksAsync(new LinkarClt.OperationAsyncCallbackLkData(ResetCommonBlocksAsyncFinished), crdOpt);
Dim crdOpt As CredentialsOptions = New CredentialsOptions("127.0.0.1", 11300, "admin", "admin", "ENTRYPOINT")
Dim filename As String = "LK.CUSTOMERS"
LinkarClt.ResetCommonBlocksAsync(New LinkarClt.OperationAsyncCallbackLkData(ResetCommonBlocksAsyncFinished), crdOpt)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also