BackendlessAPI.Service.MessagingService.PollMessages C# (CSharp) Méthode

PollMessages() public méthode

public PollMessages ( string channelName, string subscriptionId ) : List
channelName string
subscriptionId string
Résultat List
    public List<Message> PollMessages( string channelName, string subscriptionId )
    {
      checkChannelName( channelName );

      if( string.IsNullOrEmpty( subscriptionId ) )
        throw new ArgumentNullException( ExceptionMessage.NULL_SUBSCRIPTION_ID );

      return Invoker.InvokeSync<List<Message>>( MESSAGING_MANAGER_SERVER_ALIAS, "pollMessages",
                                                   new object[]
                                                     {
                                                       Backendless.AppId, Backendless.VersionNum, channelName,
                                                       subscriptionId
                                                     } );
    }

Same methods

MessagingService::PollMessages ( string channelName, string subscriptionId, AsyncCallback callback ) : void