Function createSetDelegateOperation