Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Sample code for using ExtendedFault

$
0
0

I couldn't find any example that demonstrates how to use ExtendedFault with setTaskState (TaskInfostate.ERROR). Appreciate any help.

 

I tried following:

1) when I call setTaskState with ExtendedFault, VI Client shows Task Status is set to "fault.com.company.component.faultname.summary". Any idea why?


Note that I've registered custom faultId ("com.company.component.faultname") using ExtensionFaultTypeInfo (Verified through MOB's ExtensionManager that faultId appears under faultList for my extension)


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>