Property if your class supports multiple concurrent invocations 如果您的類支持多個并發(fā)調(diào)用,則不要公開
If your class does not support multiple concurrent invocations , consider exposing an 如果類不支持多個并發(fā)調(diào)用,請考慮公開
Property because they support multiple concurrent invocations of asynchronous methods 屬性,因為它們支持異步方法的多個并發(fā)調(diào)用。
Do this if you re prepared to manage multiple concurrent invocations of your method , in which case the 如果您準備管理方法的多個并發(fā)調(diào)用,可進行此操作,在這種情況下,
Method without the state parameter , and it does not support multiple concurrent invocations , ensure that any attempt to invoke 方法時不使用該狀態(tài)參數(shù),而且它不支持多個并發(fā)調(diào)用,則請確保在早先的
If your class supports multiple concurrent invocations , enable the developer to track each invocation separately by defining the 如果類支持多個并發(fā)調(diào)用,則可讓開發(fā)人員通過定義帶有對象賦值狀態(tài)參數(shù)或任務id (名為
If you don ' t see concurrent invocations in a server , it is likely that the server is running with a thread pool containing only a single thread , thereby serializing all incoming invocations 你不會看到在服務端進行的并發(fā)調(diào)用,就像服務端的線程池只運行著一個線程,串行化的處理著所有請求。
An asynchronous method may also support multiple pending calls multiple concurrent invocations , allowing your code to call it any number of times before it completes other pending operations 異步方法可能還支持多個掛起的調(diào)用多個并發(fā)調(diào)用,允許您的代碼在此方法完成其他掛起的操作之前調(diào)用此方法任意多次。
For a component that supports multiple concurrent invocations of its asynchronous methods , the client can supply a unique token , or task id , to distinguish which asynchronous task is raising particular events 對于支持多次并發(fā)調(diào)用其異步方法的組件,客戶端可以提供一個唯一的標記或任務id ,以區(qū)分引發(fā)特殊事件的異步任務。