SetFailed
Sets the error state and saves the data about the cause of the error in its own object instance.
METHOD SetFailed : I_AsyncServiceResultClass
VAR_INPUT
ipError : I_ServiceErrorClass;
END_VAR
ipError: Interface pointer of type I_ServiceErrorClass of an object instance with the data on the cause of the error.
Return parameter: Own interface pointer of type I_AsyncServiceResultClass.