/// <summary>
 /// This method will be called after calling PushManager.StarWork(). The channelId should be sent to your
 /// server; this value can be used to send push notifictions to this user.
 /// 调用PushManager.StartWork()以后,此功能要提供channelId。因为channelId让你发送本用户给通知,所以你应该把channelId
 /// 保存在服务器里。
 /// </summary>
 /// <param name="context"></param>
 /// <param name="errorCode"></param>
 /// <param name="appid"></param>
 /// <param name="userId"></param>
 /// <param name="channelId"></param>
 /// <param name="requestId"></param>
 public override void OnBind(Context context, int errorCode, string appid, string userId, string channelId, string requestId)
 {
     System.Diagnostics.Debug.WriteLine(string.Format(" OnBind === errorCode: {0} ---- appid: {1} userId: {2} channelId: {3}", errorCode, appid, userId, channelId));
     PushManager.SetTags(context, new List <string> {
         "aaa"
     });
     SendRegistrationToAppServer(userId, channelId);
     PushManager.ListTags(context);
 }