public UnifiedIterateUntilDocumentOrErrorOperation Build(string targetChangeStreamId, BsonDocument arguments) { var changeStream = _entityMap.GetChangeStream(targetChangeStreamId); if (arguments != null) { throw new FormatException("IterateUntilDocumentOrErrorOperation is not expected to contain arguments."); } return(new UnifiedIterateUntilDocumentOrErrorOperation(changeStream)); }