c# - Microsoft Band exception: 0xA0D4000A -


i started microsoft band application windows phone 8.1. application uses uv sensors. problem here not uv, rather sending notification.

the code sends notification band looks (and goes exception):

await bandclient.notificationmanager.sendmessageasync(tileguid, "title", "body", datetimeoffset.now, messageflags.showdialog); 

the full exception is:

(exception parameter below question) handled = false "device status code: 0xa0d4000a received" 

it thrown from file app.g.i.cs:

#if debug && !disable_xaml_generated_break_on_unhandled_exception         unhandledexception += (sender, e) =>         {             if (global::system.diagnostics.debugger.isattached) global::system.diagnostics.debugger.break();         }; #endif 

i searched web exception, no result. weird part is, @ 1 point code worked , sent notification. has sent exception "transport" , "stream" something, cannot re-product exceptions again right now.

i have done:

  1. factory reset band , reconnect (unregister , stuff also).
  2. restart phone , try other phones.
  3. moved notification thrown later or earlier in code.

does happen have ideas or such, done , wrong

exception parameter:

+       exception   {microsoft.band.bandoperationexception: device status code: 0xa0d4000a received.    @ microsoft.band.bandclient.checkstatus(cargostatus status, commandstatushandling statushandling)    @ microsoft.band.bandclient.sendnotification[t](uint16 notificationid, guid& tileid, t& notificationinfo, pooledbuffer payload)    @ microsoft.band.bandclient.sendmessage(guid& tileid, string title, string body, datetimeoffset timestamp, messageflags flags, cancellationtoken token)    @ microsoft.band.bandclient.<>c__displayclass11.<sendmessageasync>b__10()    @ system.threading.tasks.task.innerinvoke()    @ system.threading.tasks.task.execute() --- end of stack trace previous location exception thrown ---    @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task)    @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task)    @ system.runtime.compilerservices.taskawaiter.getresult()    @ uvicorn.pivotpage.<thrownotification>d__26.movenext() --- end of stack trace previous location exception thrown ---    @ system.runtime.compilerservices.asyncmethodbuildercore.<throwasync>b__3(object state)    @ system.threading.winrtsynchronizationcontext.invoker.invokecore()}    system.exception {microsoft.band.bandoperationexception} 

make sure verify tile guid passed sendmessageasync() method has first been added band (for example, after factory reset).


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -