Since tool-independent changes usually operate on UV editor mesh input object, it is probably preferable to use EmitToolIndependentUnwrapCanonicalChange, which will set up a proper transaction for you.