Click or drag to resize

SubscriberEndAccess Method

Indicates that the application has finished accessing the data samples in DataReader objects managed by the Subscriber.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode EndAccess()

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks

This operation must be used to 'close' a corresponding BeginAccess.

After calling EndAccess the application should no longer access any of the data or SampleInfo elements returned from the sample-accessing operations. This call must close a previous call to BeginAccess otherwise the operation will return the error PreconditionNotMet.

See Also