Lightstreamer .Net Adapter 1.10.0
ContentsIndexHome
PreviousUpNext
MetadataProviderAdapter.IsModeAllowed Method

Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item. A publishing Mode can or cannot be allowed depending on the 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 IsModeAllowed(string user, string item, Mode mode);
C#
public virtual bool IsModeAllowed(string user, string item, Mode mode);
Visual Basic
Public virtual Function IsModeAllowed(user As string, item As string, mode As Mode) As bool
Parameters 
Description 
string user 
Not used. 
string item 
Not used. 
Mode mode 
Not used. 

Always true.