Gurux.DLMS.GXDLMSException.GetResult C# (CSharp) Method

GetResult() static private method

Get resulat as a string.
static private GetResult ( AssociationResult result ) : string
result AssociationResult
return string
        static string GetResult(AssociationResult result)
        {
            if (result == AssociationResult.PermanentRejected)
            {
                return "permanently rejected";
            }
            if (result == AssociationResult.TransientRejected)
            {
                return "transient rejected";
            }
            throw new InvalidOperationException();
        }