Eplan Platform API
Eplan.EplApi.EServices Namespace / PartVerification Class / DoErrorMessage Method / DoErrorMessage(String,String,String) Method
The error refers to part with this part number. Cannot be empty or null.
The error refers to part in this part variant. Cannot be empty or null.
Parameter values for the message text. This value is used only with messages that use %1!s! variable in their definition.

In This Topic
    DoErrorMessage(String,String,String) Method
    In This Topic
    Service function for the error output during a test. Text to display is taken from correct IMessage::GetMessageText method.
    Syntax
    public virtual void DoErrorMessage( 
       string strPartNumber,
       string strPartVariant,
       string strTextParameter
    )
    public:
    virtual void DoErrorMessage( 
       String^ strPartNumber,
       String^ strPartVariant,
       String^ strTextParameter
    ) 

    Parameters

    strPartNumber
    The error refers to part with this part number. Cannot be empty or null.
    strPartVariant
    The error refers to part in this part variant. Cannot be empty or null.
    strTextParameter
    Parameter values for the message text. This value is used only with messages that use %1!s! variable in their definition.
    Exceptions
    ExceptionDescription
    Thrown when strPartNumber or strPartVariant is empty or NULL.
    Remarks
    Method does not check if part and part variant exist.
    See Also