| Keysight.Visa Namespace > VisaSession Class : SynchronizeCallbacks Property |
'DeclarationPublic Property SynchronizeCallbacks As Boolean
'UsageDim instance As VisaSession Dim value As Boolean instance.SynchronizeCallbacks = value value = instance.SynchronizeCallbacks
public bool SynchronizeCallbacks {get; set;}
This property applies to both I/O callbacks and events, but the point in time at which the synchronization context is captured is different. For events, context is captured at event registration, for each event type and delegate, regardless of the current state of this property. When an event is raised, the implementation uses this property to determine the context in which to invoke the delegate. For asynchronous I/O, context is captured at the begin operation (e.g. BeginRead, BeginWrite) if this property is true.
The default value is true.
Current with Keysight IO Libraries Suite 18