hubiquitus4w8.hapi.hStructures.HResult.GetStatus C# (CSharp) Méthode

GetStatus() public méthode

Get the status of the result. Null if undefined.
public GetStatus ( ) : ResultStatus?
Résultat ResultStatus?
        public ResultStatus? GetStatus()
        {
            ResultStatus? status = null;
            try
            {
                status = this["status"].ToObject<ResultStatus>();
            }
            catch (Exception e)
            {
                Debug.WriteLine("{0} : Can not fetch the status attritbute : {0}", e.ToString());
            }
            return status;
        }