Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
MetadataProviderAdapter.ModeMayBeAllowed Method

Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item (for at least one User). In this default implementation, the Metadata Adapter poses no restriction. As a consequence, conflicting Modes may be both allowed for the same Item, so the Clients should ensure that the same Item cannot be requested in two conflicting Modes.

C++
public: bool ModeMayBeAllowed(string item, Mode mode);
C#
public virtual bool ModeMayBeAllowed(string item, Mode mode);
Visual Basic
Public virtual Function ModeMayBeAllowed(item As string, mode As Mode) As bool
Parameters 
Description 
string item 
Not used. 
Mode mode 
Not used. 

Always true.