'Declaration
Public Sub AssureSecurityInitializationAndRunOnStaThread( _ ByVal runAction As Action(Of ValueResult(Of Boolean)) _ )
'Usage
Dim instance As ComManagement Dim runAction As Action(Of ValueResult(Of Boolean)) instance.AssureSecurityInitializationAndRunOnStaThread(runAction)
public void AssureSecurityInitializationAndRunOnStaThread( Action<ValueResult<bool>> runAction )
public: void AssureSecurityInitializationAndRunOnStaThread( Action<ValueResult<bool>^>^ runAction )
Parameters
- runAction
- The action to be run on an STA thread after the COM security is initialized.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).