PosCommon.Invoke Method
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Public Class posCommonImplementation
Inherits PosCommon
Protected Overrides Function Invoke(method As Delegate, _
args As Object)
MyBase.Invoke(method, args)
End Function
End Class
Syntax
'Declaration
Protected Function Invoke( _
ByVal method As Delegate, _
ByVal args() As Object _
) As Object
protected object Invoke(
Delegate method,
object[] args
);
protected: Object^ Invoke(
Delegate^ method,
array<Object^>^ args
);
protected System.Object Invoke(
Delegate method,
System.Object[] args
);
protected function Invoke(
method : Delegate,
args : Object[]
) : Object;
Parameters
- method
Name of the event delegate.
- args
Object array of the arguments taken by the delegate.
Remarks
Called by the service objects to fire an event. Invoke uses the value of the SynchronizingObject property to marshal the event to the correct thread. If SynchronizingObject is set to null, the event is fired on the calling thread.
Note
Invoke is only used by service objects that do not derive from either the device’s basic or base class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace