Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 documentation]

Returns consumer with specified ID. Returned consumer object contains all information about consumer known to server, including all details, available statistics, and consumer's selector.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public ConsumerInfo GetConsumer(
    	long consumerID
    )

    Public Function GetConsumer ( _
    	consumerID As Long _
    ) As ConsumerInfo

    public:
    ConsumerInfo^ GetConsumer(
    	long long consumerID
    )

#### Parameters

consumerID
  Type: System..::.Int64

#### Return Value

consumer information or null if consumer with specified ID does not exist in the server.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace