Request service events for specified service

Namespace: BasicCard.Framework
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public IRequest RequestService(
	Type srvType,
	bool once,
	Object state
)
Visual Basic
Public Function RequestService ( 
	srvType As Type,
	once As Boolean,
	state As Object
) As IRequest
Visual C++
public:
IRequest^ RequestService(
	Type^ srvType, 
	bool once, 
	Object^ state
)
F#
member RequestService : 
        srvType : Type * 
        once : bool * 
        state : Object -> IRequest 

Parameters

srvType
Type: System..::..Type
Type of service
once
Type: System..::..Boolean
True for receiving only one event. False for receiving repeated events.
state
Type: System..::..Object
State object which shall be passed to event handler.

Return Value

Type: IRequest
Request object.

Remarks

Type of service must implement ICardService and a default constructor.

Note: Only for services requested here ServiceEvents will be invoked.

See Also