| IRhinoAccountsManagerExecuteProtectedCodeAsync Method  | 
  
    Namespace: 
   Rhino.Runtime.RhinoAccounts
    Assembly:
   RhinoCommon (in RhinoCommon.dll)
 Syntax
SyntaxTask ExecuteProtectedCodeAsync(
	Func<SecretKey, Task> protectedCode
)
Function ExecuteProtectedCodeAsync ( 
	protectedCode As Func(Of SecretKey, Task)
) As Task
Parameters
- protectedCode
- Type: SystemFuncSecretKey, Task
 A function returning an awaitable task that has a SecretKey passed to it. You will need to pass this
            secret key to any method you wish to call within IRhinoAccountsManager.
Return Value
Type: 
Task[Missing <returns> documentation for "M:Rhino.Runtime.RhinoAccounts.IRhinoAccountsManager.ExecuteProtectedCodeAsync(System.Func{Rhino.Runtime.RhinoAccounts.SecretKey,System.Threading.Tasks.Task})"]
 Exceptions
Exceptions Remarks
RemarksThe code within the function passed must be kept as breif as possible for performance and security reasons.
 See Also
See Also