Serializes the PRC export context with specified export parameters.
eOk if the context object was successfully serialized; otherwise, the method returns an appropriate error.